ostore.network
Class IdentityMessage

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.network.IdentityMessage
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable

public class IdentityMessage
extends NetworkMessage
implements QuickSerializable


Field Summary
 LinkedList node_ids
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
IdentityMessage(InputBuffer buffer)
           
IdentityMessage(NodeId peer, LinkedList nids)
           
IdentityMessage(NodeId peer, NodeId n)
           
 
Method Summary
 void serialize(OutputBuffer buffer)
          Add the object to the buffer.
 String toString()
           
 
Methods inherited from class ostore.network.NetworkMessage
clone
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

node_ids

public LinkedList node_ids
Constructor Detail

IdentityMessage

public IdentityMessage(NodeId peer,
                       NodeId n)

IdentityMessage

public IdentityMessage(NodeId peer,
                       LinkedList nids)

IdentityMessage

public IdentityMessage(InputBuffer buffer)
                throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Description copied from interface: QuickSerializable
Add the object to the buffer.

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NetworkMessage
Parameters:
buffer - the output buffer to add the object to

toString

public String toString()
Overrides:
toString in class NetworkMessage