org.planx.xmlstore.routing.operation
Class HashRequestMessage

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

public class HashRequestMessage
extends OriginMessage


Field Summary
 
Fields inherited from class org.planx.xmlstore.routing.operation.OriginMessage
origin
 
Constructor Summary
protected HashRequestMessage()
           
  HashRequestMessage(DataInput in)
           
  HashRequestMessage(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

HashRequestMessage

protected HashRequestMessage()

HashRequestMessage

public HashRequestMessage(Node origin)

HashRequestMessage

public HashRequestMessage(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.