org.planx.xmlstore.routing.messaging
Interface Message

All Superinterfaces:
Streamable
All Known Implementing Classes:
AcknowledgeMessage, ConnectMessage, DataLookupMessage, DataMessage, HashMessage, HashRequestMessage, LookupMessage, NodeLookupMessage, NodeReplyMessage, OriginMessage, RemoveMessage, StoreMessage, StoreRequestMessage

public interface Message
extends Streamable


Method Summary
 byte code()
          The unique code for the message type, used to differentiate all messages from each other.
 
Methods inherited from interface org.planx.xmlstore.routing.messaging.Streamable
fromStream, toStream
 

Method Detail

code

byte code()
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.



Copyright © 2010. All Rights Reserved.