This method of the DirectPlayLobby Class registers an event that will be set when a lobby message is received. The application must call this method if it needs to synchronize with messages. The lobby client can call this method to change the events specified in the call to the runApplication method.
public void setLobbyMessageEvent(int applicationId, int receiveEvent);
applicationId | Identifies which application the event is associated with when called from a lobby client that communicates with several applications. When called from an application that communicates with only one lobby client, this parameter must be zero. This ID number is obtained from runApplication. |
receiveEvent | The event handle set when a message is received. |