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.
 

Method Detail

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 to
event -

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 to
server - that has been removed