public class ObjectStore.ServerEventHandler extends java.lang.Object implements MessageListener<HostedConnection>, ConnectionListener
Constructor and Description |
---|
ServerEventHandler() |
Modifier and Type | Method and Description |
---|---|
void |
connectionAdded(Server server,
HostedConnection conn)
Called when a connection has been added to the specified server and
is fully setup.
|
void |
connectionRemoved(Server server,
HostedConnection conn)
Called when a connection has been removed from the specified
server.
|
void |
messageReceived(HostedConnection source,
Message m) |
public void messageReceived(HostedConnection source, Message m)
messageReceived
in interface MessageListener<HostedConnection>
public void connectionAdded(Server server, HostedConnection conn)
ConnectionListener
connectionAdded
in interface ConnectionListener
public void connectionRemoved(Server server, HostedConnection conn)
ConnectionListener
connectionRemoved
in interface ConnectionListener