org.planx.xmlstore.routing.operation
Class AcknowledgeMessage

java.lang.Object
  extended by org.planx.xmlstore.routing.operation.OriginMessage
      extended by org.planx.xmlstore.routing.operation.AcknowledgeMessage
All Implemented Interfaces:
Message, Streamable

public class AcknowledgeMessage
extends OriginMessage


Field Summary
 
Fields inherited from class org.planx.xmlstore.routing.operation.OriginMessage
origin
 
Constructor Summary
protected AcknowledgeMessage()
           
  AcknowledgeMessage(DataInput in)
           
  AcknowledgeMessage(Node origin)
           
 
Method Summary
 byte code()
          The unique code for the message type, used to differentiate all messages from each other.
 String toString()
           
 
Methods inherited from class org.planx.xmlstore.routing.operation.OriginMessage
fromStream, getOrigin, toStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AcknowledgeMessage

protected AcknowledgeMessage()

AcknowledgeMessage

public AcknowledgeMessage(Node origin)

AcknowledgeMessage

public AcknowledgeMessage(DataInput in)
                   throws IOException
Throws:
IOException
Method Detail

code

public byte code()
Description copied from interface: Message
The unique code for the message type, used to differentiate all messages from each other. Since this is of byte type there can be at most 256 different message types.

Specified by:
code in interface Message
Specified by:
code in class OriginMessage

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.