lilypad.client.connect.api
Class ServerAddEvent
java.lang.Object
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)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerAddEvent
public ServerAddEvent(java.lang.String server,
java.lang.String securityKey,
java.net.InetSocketAddress address)
- Parameters:
server
- the server that has been addedsecurityKey
- the security key of the serveraddress
- the connection address of the server
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