Public Member Functions | |
List< ServerConnection > | getServerConnections () |
void | start (NewServerConnectionListener listener) |
void | stop () throws Exception |
A server connection manager is responsible for connections to the menu manager, it will completely manage all the connections, creating new ones as they come in, and removing old ones as they are closed out.
List<ServerConnection> com.thecoderscorner.menu.mgr.ServerConnectionManager.getServerConnections | ( | ) |
Implemented in com.thecoderscorner.menu.remote.mgrclient.SocketServerConnectionManager.
void com.thecoderscorner.menu.mgr.ServerConnectionManager.start | ( | NewServerConnectionListener | listener | ) |
Start the manager up so it starts to accept connections, the listener will be called for each new connection.
listener | will receive an event when a new connection is made |
Implemented in com.thecoderscorner.menu.remote.mgrclient.SocketServerConnectionManager.
void com.thecoderscorner.menu.mgr.ServerConnectionManager.stop | ( | ) | throws Exception |
Stop the manager
Exception | if unable to stop correctly |
Implemented in com.thecoderscorner.menu.remote.mgrclient.SocketServerConnectionManager.