lilypad.client.connect.api
Class ServerAddEvent

java.lang.Object
  extended by lilypad.client.connect.api.ServerAddEvent

public class ServerAddEvent
extends java.lang.Object

Called when a server has been added to the network when the session is the role of a proxy.


Constructor Summary
ServerAddEvent(java.lang.String server, java.lang.String securityKey, java.net.InetSocketAddress address)
           
 
Method Summary
 java.net.InetSocketAddress getAddress()
           
 java.lang.String getSecurityKey()
           
 java.lang.String getServer()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerAddEvent

public ServerAddEvent(java.lang.String server,
                      java.lang.String securityKey,
                      java.net.InetSocketAddress address)
Parameters:
server - the server that has been added
securityKey - the security key of the server
address - the connection address of the server
Method Detail

getServer

public java.lang.String getServer()
Returns:
the server that has been added

getSecurityKey

public java.lang.String getSecurityKey()
Returns:
the security key of the server

getAddress

public java.net.InetSocketAddress getAddress()
Returns:
the connection address of the server