org.planx.xmlstore.routing.operation
Class NodeLookupMessage

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

public class NodeLookupMessage
extends LookupMessage


Field Summary
 
Fields inherited from class org.planx.xmlstore.routing.operation.LookupMessage
lookup
 
Fields inherited from class org.planx.xmlstore.routing.operation.OriginMessage
origin
 
Constructor Summary
protected NodeLookupMessage()
           
  NodeLookupMessage(DataInput in)
           
  NodeLookupMessage(Node origin, Identifier lookup)
           
 
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.LookupMessage
fromStream, getLookupId, toStream
 
Methods inherited from class org.planx.xmlstore.routing.operation.OriginMessage
getOrigin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NodeLookupMessage

protected NodeLookupMessage()

NodeLookupMessage

public NodeLookupMessage(Node origin,
                         Identifier lookup)

NodeLookupMessage

public NodeLookupMessage(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 LookupMessage

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010. All Rights Reserved.