ostore.tapestry.patchwork
Class RepairMonitorStage.AttachMessage
java.lang.Object
|
+--ostore.network.NetworkMessage
|
+--ostore.tapestry.patchwork.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
command
public boolean command
myGuid
public SecureHash myGuid
new_guid
public boolean new_guid
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
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
- Following copied from interface:
ostore.util.QuickSerializable
- Parameters:
buffer
- the output buffer to add the object to
clone
public Object clone()
throws CloneNotSupportedException
- Overrides:
clone
in class NetworkMessage
toString
public String toString()
- Overrides:
toString
in class NetworkMessage