Interface ChatServerConnection

All Superinterfaces:
ServerConnection
All Known Subinterfaces:
LockableChatServerConnection
All Known Implementing Classes:
ClientTest, DummyClient, DynamicClient, HybridClient, NodeClient, OfficialNodeClient, P2PClient, PrivateNodeClient

public interface ChatServerConnection extends ServerConnection
Specialized interface for chat-room server connections
Author:
rkinney
  • Field Details

  • Method Details

    • getRoom

      Room getRoom()
      Return the room currently occupied by the player
    • setRoom

      void setRoom(Room r)
      Join the given room
    • getAvailableRooms

      Room[] getAvailableRooms()
      Return an array of all rooms on the server
    • getUserInfo

      Player getUserInfo()
      Return a Player instance representing the current player
    • setUserInfo

      void setUserInfo(Player p)
      Set the Player instance representing this player
    • sendTo

      void sendTo(Player recipient, Command c)
      Send a Command to a particular player