org.alliance.core.comm.rpc
Class PleaseForwardInvitation

java.lang.Object
  extended by org.alliance.core.comm.RPC
      extended by org.alliance.core.comm.rpc.PersistantRPC
          extended by org.alliance.core.comm.rpc.PleaseForwardInvitation
All Implemented Interfaces:
java.io.Serializable

public class PleaseForwardInvitation
extends PersistantRPC

Created by IntelliJ IDEA. User: maciek Date: 2005-dec-21 Time: 16:34:22 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alliance.core.comm.RPC
broadcastable, con, core, fromGuid, hops, manager, routable
 
Constructor Summary
PleaseForwardInvitation()
           
PleaseForwardInvitation(Node toNode)
           
PleaseForwardInvitation(java.lang.String invitationCode, int toGuid)
           
 
Method Summary
 void execute(Packet data)
           
 RPC init(FriendConnection rpcc)
          Initializes this RCP in a mode where it has not been recived from anyone - fromGuid is 0
 Packet serializeTo(Packet p)
           
 
Methods inherited from class org.alliance.core.comm.rpc.PersistantRPC
getDestinationGuid, hasExpired, resetTimestamp, setDestinationGuid
 
Methods inherited from class org.alliance.core.comm.RPC
init, isBroadcastable, isInitialized, isRoutable, send, send, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PleaseForwardInvitation

public PleaseForwardInvitation()

PleaseForwardInvitation

public PleaseForwardInvitation(Node toNode)
                        throws java.lang.Exception
Throws:
java.lang.Exception

PleaseForwardInvitation

public PleaseForwardInvitation(java.lang.String invitationCode,
                               int toGuid)
Method Detail

init

public RPC init(FriendConnection rpcc)
Description copied from class: RPC
Initializes this RCP in a mode where it has not been recived from anyone - fromGuid is 0

Overrides:
init in class RPC

execute

public void execute(Packet data)
             throws java.io.IOException
Specified by:
execute in class RPC
Throws:
java.io.IOException

serializeTo

public Packet serializeTo(Packet p)
Specified by:
serializeTo in class RPC