dd.host.impl
Class HostHbStage.Pong

java.lang.Object
  |
  +--dd.api.DDRouteMsg
        |
        +--dd.host.impl.HostHbStage.Pong
All Implemented Interfaces:
QueueElementIF, QuickSerializable
Enclosing class:
HostHbStage

public static class HostHbStage.Pong
extends DDRouteMsg

Pong; that is, let another node know that we are alive.


Field Summary
 bamboo.vivaldi.VirtualCoordinate coordinate
          VirtualCoordinate of node.
 NodeId nodeId
          NodeId of node.
 long srcTime
          srcTime in us.
 
Fields inherited from class dd.api.DDRouteMsg
dd_intermediate_upcall, hopCount, inbound, one_hop, peer, recursive_route, TTL
 
Constructor Summary
HostHbStage.Pong(InputBuffer buffer)
          Constructs a RequestFragResponseMsg from its serialized form.
HostHbStage.Pong(SecureHash dest, NodeId nodeId, long srcTime, bamboo.vivaldi.VirtualCoordinate coordinate, HostAppFilter filter, boolean recursive_route, boolean dd_intermediate_upcall, boolean one_hop)
          Construct according to the given fields.
 
Method Summary
 void serialize(OutputBuffer buffer)
          Specified by ostore.util.QuickSerializable
 String toString()
          Specified by java.lang.Object
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

srcTime

public long srcTime
srcTime in us.


nodeId

public NodeId nodeId
NodeId of node.


coordinate

public bamboo.vivaldi.VirtualCoordinate coordinate
VirtualCoordinate of node.

Constructor Detail

HostHbStage.Pong

public HostHbStage.Pong(SecureHash dest,
                        NodeId nodeId,
                        long srcTime,
                        bamboo.vivaldi.VirtualCoordinate coordinate,
                        HostAppFilter filter,
                        boolean recursive_route,
                        boolean dd_intermediate_upcall,
                        boolean one_hop)
Construct according to the given fields.


HostHbStage.Pong

public HostHbStage.Pong(InputBuffer buffer)
                 throws QSException
Constructs a RequestFragResponseMsg from its serialized form.

Parameters:
buffer - serialized form of object.
Method Detail

serialize

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

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

toString

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

Overrides:
toString in class Object