org.alliance.core.comm.rpc
Class GracefulClose

java.lang.Object
  extended by org.alliance.core.comm.RPC
      extended by org.alliance.core.comm.rpc.GracefulClose

public class GracefulClose
extends RPC

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


Field Summary
static byte DELETED
           
static byte DUPLICATE_CONNECTION
           
static byte SHUTDOWN
           
 
Fields inherited from class org.alliance.core.comm.RPC
broadcastable, con, core, fromGuid, hops, manager, routable
 
Constructor Summary
GracefulClose()
           
GracefulClose(byte reason)
           
 
Method Summary
 void execute(Packet data)
           
 Packet serializeTo(Packet p)
           
 
Methods inherited from class org.alliance.core.comm.RPC
init, init, isBroadcastable, isInitialized, isRoutable, send, send, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DUPLICATE_CONNECTION

public static final byte DUPLICATE_CONNECTION
See Also:
Constant Field Values

SHUTDOWN

public static final byte SHUTDOWN
See Also:
Constant Field Values

DELETED

public static final byte DELETED
See Also:
Constant Field Values
Constructor Detail

GracefulClose

public GracefulClose()

GracefulClose

public GracefulClose(byte reason)
Method Detail

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