|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
All Objects deployed as Rooms implement this interface.
| Method Summary | |
void |
onAddClient(ClientServices client)
Called when a Client joins the room. |
void |
onClientCountChange(int newCount)
Called when the number of clients in the room changes. |
boolean |
onLogin(ClientServices client,
java.util.ArrayList args)
Called when a Client attempts to login to the room. |
void |
onReceiveMessage(Message message)
Called when the Room receives a Message from a Client. |
void |
onRemoveClient(ClientServices client)
Called when a Client is removed. |
void |
onRoomDie()
Called when the Room is asked to be killed but before Clients are removed and the Room is removed from the Server. |
void |
onRoomInit(RoomServices roomServices)
Called when the Room is started. |
| Method Detail |
public void onRoomInit(RoomServices roomServices)
RoomServices - the RoomServices for this Room
public boolean onLogin(ClientServices client,
java.util.ArrayList args)
public void onReceiveMessage(Message message)
public void onAddClient(ClientServices client)
public void onRemoveClient(ClientServices client)
public void onClientCountChange(int newCount)
public void onRoomDie()
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||