Microsoft SDK for Java

getMessageCount

This method of the DirectPlay2 Class queries for the number of messages in a specific local player's message receive queue.

Syntax

public int getMessageCount(int playerId);

Return Value

Returns the message count.

Parameters

playerId The layer ID that the message count is requested for. The player must be local.

See Also

receive

© 1999 Microsoft Corporation. All rights reserved. Terms of use.