public class LobbyChannelListener extends GameChannelListener
| Constructor and Description |
|---|
LobbyChannelListener(LobbyListener lobbyListener,
ChatListener chatListener)
Creates an instance of
LobbyListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
receivedMessage(com.sun.sgs.client.ClientChannel channel,
ByteBuffer data)
Notifies this listener that some data has arrived from a given
player.
|
addPlayerIdMapping, getObject, leftChannel, notifyChatMessage, notifyJoin, notifyLeavepublic LobbyChannelListener(LobbyListener lobbyListener, ChatListener chatListener)
LobbyListener.lobbyListener - the listener for all lobby messageschatListener - the listener for all chat messagespublic void receivedMessage(com.sun.sgs.client.ClientChannel channel,
ByteBuffer data)
channel - the channel on which this data was receiveddata - the data receivedCopyright © 2013. All Rights Reserved.