demo.repairmonitor
Class RepairMonitorStage.AttachMessage

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--demo.repairmonitor.RepairMonitorStage.AttachMessage
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Enclosing class:
RepairMonitorStage

public static class RepairMonitorStage.AttachMessage
extends NetworkMessage
implements QuickSerializable

A message indicating a command to attach, or the confirmation of a successful attachment


Field Summary
 boolean command
           
 SecureHash myGuid
           
 boolean new_guid
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
RepairMonitorStage.AttachMessage(InputBuffer buffer)
           
RepairMonitorStage.AttachMessage(NodeId peer, boolean new_guid)
          Tells a node to attach, and whether or not to use a new guid
RepairMonitorStage.AttachMessage(NodeId peer, SecureHash myGuid)
          Attach confirmation
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

command

public boolean command

myGuid

public SecureHash myGuid

new_guid

public boolean new_guid
Constructor Detail

RepairMonitorStage.AttachMessage

public RepairMonitorStage.AttachMessage(NodeId peer,
                                        SecureHash myGuid)
Attach confirmation


RepairMonitorStage.AttachMessage

public RepairMonitorStage.AttachMessage(NodeId peer,
                                        boolean new_guid)
Tells a node to attach, and whether or not to use a new guid


RepairMonitorStage.AttachMessage

public RepairMonitorStage.AttachMessage(InputBuffer buffer)
                                 throws QSException
Method Detail

serialize

public void serialize(OutputBuffer buffer)
Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class NetworkMessage

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class NetworkMessage
CloneNotSupportedException

toString

public String toString()
Overrides:
toString in class NetworkMessage