tapestry.ptr.impl
Class HostHbStage.DeadMail

java.lang.Object
  |
  +--tapestry.ptr.impl.DirectMail
        |
        +--tapestry.ptr.impl.HostHbStage.DeadMail
All Implemented Interfaces:
Cloneable, QueueElementIF, QuickSerializable
Enclosing class:
HostHbStage

public static class HostHbStage.DeadMail
extends DirectMail

DeadMail is mail delivered to every node in the system carrying news that a node recently died.


Field Summary
 
Fields inherited from class tapestry.ptr.impl.DirectMail
currentRadius, inbound
 
Constructor Summary
HostHbStage.DeadMail(InputBuffer buffer)
          Constructor: Creates a new DeadMail from its serialized form.
HostHbStage.DeadMail(SecureHash dead, NodeId deadNodeId, SecureHash src, int targetRadius, long srcTime)
          Constructor: Creates a new DeadMail.
 
Method Summary
 SecureHash getDead()
          getDead returns the dead node mailed to all the other nodes in the system.
 NodeId getDeadNodeId()
          getDeadNodeId returns the dead NodeId mailed to all the other nodes in the system.
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class tapestry.ptr.impl.DirectMail
clone, getCurrentRadius, getSrc, getSrcTime, getTargetRadius
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

HostHbStage.DeadMail

public HostHbStage.DeadMail(SecureHash dead,
                            NodeId deadNodeId,
                            SecureHash src,
                            int targetRadius,
                            long srcTime)
Constructor: Creates a new DeadMail.


HostHbStage.DeadMail

public HostHbStage.DeadMail(InputBuffer buffer)
                     throws QSException
Constructor: Creates a new DeadMail from its serialized form.

Method Detail

getDead

public SecureHash getDead()
getDead returns the dead node mailed to all the other nodes in the system.

Returns:
the dead node.

getDeadNodeId

public NodeId getDeadNodeId()
getDeadNodeId returns the dead NodeId mailed to all the other nodes in the system.

Returns:
the dead NodeId.

serialize

public void serialize(OutputBuffer buffer)
Specified by ostore.util.QuickSerializable

Specified by:
serialize in interface QuickSerializable
Overrides:
serialize in class DirectMail

toString

public String toString()
Specified by java.lang.Object

Overrides:
toString in class DirectMail