ostore.tapestry.patchwork
Class RepairMonitorStage.DetachMessage

java.lang.Object
  |
  +--ostore.network.NetworkMessage
        |
        +--ostore.tapestry.patchwork.RepairMonitorStage.DetachMessage
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Enclosing class:
RepairMonitorStage

public static class RepairMonitorStage.DetachMessage
extends NetworkMessage
implements QuickSerializable

A message indicating a command to detach, or the confirmation of a successful detachment


Field Summary
 boolean command
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, inbound, peer, sender, tries, user_data
 
Constructor Summary
RepairMonitorStage.DetachMessage(InputBuffer buffer)
           
RepairMonitorStage.DetachMessage(NodeId peer, boolean command)
           
 
Method Summary
 Object clone()
           
 void serialize(OutputBuffer buffer)
          Add the object to the 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
Constructor Detail

RepairMonitorStage.DetachMessage

public RepairMonitorStage.DetachMessage(NodeId peer,
                                        boolean command)

RepairMonitorStage.DetachMessage

public RepairMonitorStage.DetachMessage(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
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