- send
Sends a message to the server.
- addClientStateListener
Adds a listener that will be notified about connection state changes.
- addMessageListener
Adds a listener that will be notified when messages of the specified types are
received.
- removeMessageListener
Removes a previously registered type-specific listener from the specified types.
- addErrorListener
Adds a listener that will be notified when any connection errors occur. If a
client has no error lis
- close
Closes this connection to the server.
- start
Starts the client allowing it to begin processing incoming messages and
delivering them to listeners
- getGameName
Returns the 'game name' for servers to which this client should be able to
connect. This should matc
- getId
Returns a unique ID for this client within the remote server or -1 if this
client isn't fully connec
- getServices
Returns the manager for client services. Client services extend the
functionality of the client.