demo.repairmonitor
Class RepairMonitorStage.PtrDeletedMsg

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

public static class RepairMonitorStage.PtrDeletedMsg
extends NetworkMessage
implements QuickSerializable

A message to inform the RepairMonitor that a node has been detected as failed.


Field Summary
 SecureHash badGuyGuid
           
 NodeId badGuyNode
           
 int hopCount
           
 
Fields inherited from class ostore.network.NetworkMessage
comp_q, est_rtt_ms, inbound, peer, sender, tries, user_data, wait_ms
 
Constructor Summary
RepairMonitorStage.PtrDeletedMsg(InputBuffer buffer)
           
RepairMonitorStage.PtrDeletedMsg(NodeId peer, NodeId badGuy, int hopCount)
           
RepairMonitorStage.PtrDeletedMsg(NodeId peer, SecureHash badGuy, int hopCount)
           
 
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

badGuyGuid

public SecureHash badGuyGuid

badGuyNode

public NodeId badGuyNode

hopCount

public int hopCount
Constructor Detail

RepairMonitorStage.PtrDeletedMsg

public RepairMonitorStage.PtrDeletedMsg(NodeId peer,
                                        SecureHash badGuy,
                                        int hopCount)

RepairMonitorStage.PtrDeletedMsg

public RepairMonitorStage.PtrDeletedMsg(NodeId peer,
                                        NodeId badGuy,
                                        int hopCount)

RepairMonitorStage.PtrDeletedMsg

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