lilypad.client.connect.api
Class RedirectEvent

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

public class RedirectEvent
extends java.lang.Object

Called when a player is to be redirected to a specified server by the session when the session is the role of a proxy.


Constructor Summary
RedirectEvent(java.lang.String server, java.lang.String player)
           
 
Method Summary
 java.lang.String getPlayer()
           
 java.lang.String getServer()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedirectEvent

public RedirectEvent(java.lang.String server,
                     java.lang.String player)
Method Detail

getServer

public java.lang.String getServer()
Returns:
the server to redirect to

getPlayer

public java.lang.String getPlayer()
Returns:
the player to be redirected