org.planx.xmlstore.routing.operation
Class ConnectMessage

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

public class ConnectMessage
extends OriginMessage


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

ConnectMessage

protected ConnectMessage()

ConnectMessage

public ConnectMessage(Node origin)

ConnectMessage

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