lilypad.client.connect.api
Interface ServerEventListener
public interface ServerEventListener
Method Summary |
void |
onServerAdd(Connect connect,
ServerAddEvent event)
Called when a server has been added to the network
when the session is the role of a proxy. |
void |
onServerRemove(Connect connect,
java.lang.String server)
Called when a server has been removed from the network
when the session is the role of a proxy. |
onServerAdd
void onServerAdd(Connect connect,
ServerAddEvent event)
- Called when a server has been added to the network
when the session is the role of a proxy.
- Parameters:
connect
- session that the event belongs toevent
-
onServerRemove
void onServerRemove(Connect connect,
java.lang.String server)
- Called when a server has been removed from the network
when the session is the role of a proxy.
- Parameters:
connect
- session that the event belongs toserver
- that has been removed