|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.world.Customs
Handles transferring players between servers.
Method Summary | |
static java.lang.String |
acceptTransfer(java.lang.String name,
java.lang.String homeworld,
java.lang.String player_file)
Handles a request for a transfer from another server. |
static void |
requestTransfer(java.lang.String host,
int port,
Player player)
Attempts to transfer a player to another server. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void requestTransfer(java.lang.String host, int port, Player player)
host
- the destination hostname, e.g. jade.cabochon.comport
- the port (use wyvern.server.RPCServer.HTTP_PORT if unsure)player
- the player to transferpublic static java.lang.String acceptTransfer(java.lang.String name, java.lang.String homeworld, java.lang.String player_file)
name
- the name of the player to transferhomeworld
- the IP or DNS name of the player's homeworldplayer_file
- the player's XML save file
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |