org.alliance.core.comm.rpc
Class PersistantRPC

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

public abstract class PersistantRPC
extends RPC
implements java.io.Serializable

Created by IntelliJ IDEA. User: maciek Date: 2006-apr-19 Time: 15:38:42 A persistant RPC is an rpc that can be sent using NetworkManager.sendPersistantly(...). It is guaranteed to arrive at it destination. Even if the destination will not be connected for several days and even if the application is restarted.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.alliance.core.comm.RPC
broadcastable, con, core, fromGuid, hops, manager, routable
 
Constructor Summary
PersistantRPC()
           
 
Method Summary
 int getDestinationGuid()
           
 boolean hasExpired()
          Return true if this PersistantRPC is older than a month.
 void resetTimestamp()
           
 void setDestinationGuid(int destinationGuid)
           
 
Methods inherited from class org.alliance.core.comm.RPC
execute, init, init, isBroadcastable, isInitialized, isRoutable, send, send, serializeTo, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PersistantRPC

public PersistantRPC()
Method Detail

getDestinationGuid

public int getDestinationGuid()

setDestinationGuid

public void setDestinationGuid(int destinationGuid)

resetTimestamp

public void resetTimestamp()

hasExpired

public boolean hasExpired()
Return true if this PersistantRPC is older than a month.