public class DungeonChannelListener extends GameChannelListener
| Constructor and Description |
|---|
DungeonChannelListener(BoardListener boardListener,
ChatListener chatListener,
PlayerListener playerListener)
Creates an instance of
DungeonChannelListener. |
| Modifier and Type | Method and Description |
|---|---|
void |
receivedMessage(com.sun.sgs.client.ClientChannel channel,
ByteBuffer data)
Notifies this listener that some data has arrived.
|
addPlayerIdMapping, getObject, leftChannel, notifyChatMessage, notifyJoin, notifyLeavepublic DungeonChannelListener(BoardListener boardListener, ChatListener chatListener, PlayerListener playerListener)
DungeonChannelListener.boardListener - the listener for all board messageschatListener - the listener for all chat messagesplayerListener - the listener for all player messagespublic void receivedMessage(com.sun.sgs.client.ClientChannel channel,
ByteBuffer data)
channel - the channel on which the data arrivedata - the data sent on the channelCopyright © 2013. All Rights Reserved.