- addConnectionListener
Adds a listener that will be notified when new hosted connections arrive.
- addMessageListener
Adds a listener that will be notified when messages of the specified types are
received from one of
- getConnections
Retrieves a read-only collection of all currently connected connections.
- broadcast
Sends the specified message to all connected clients.
- removeMessageListener
Removes a previously registered type-specific listener from the specified types.
- close
Closes all client connections, stops and running processing threads, and closes
the host connection.
- start
Start the server so that it will began accepting new connections and processing
messages.
- addChannel
Adds an alternate channel to the server, using the specified port. This is an
entirely separate conn
- getGameName
Returns the 'game name' for this server. This should match the 'game name' set
on connecting clients
- getServices
Returns the manager for hosted services. Hosted services extend the
functionality of the server.
- removeConnectionListener
Removes a previously registered connection listener.