edu.nyu.cs.pdsg.switchboard.liveness
Class SbLivenessMessage

java.lang.Object
  extended byedu.nyu.cs.pdsg.switchboard.liveness.SbLivenessMessage
All Implemented Interfaces:
java.io.Serializable

public class SbLivenessMessage
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  long creatorLastMessageArriveTime
           
(package private)  long creatorSendTime
           
(package private)  SbLivenessParams params
           
(package private)  boolean paramsFlag
           
(package private)  long partnerArriveTime
           
(package private)  long partnerLastSendTime
           
(package private)  java.lang.Object payload
           
(package private)  boolean payloadFlag
           
 
Constructor Summary
SbLivenessMessage()
           
SbLivenessMessage(SbLivenessMessage lastReceived)
           
SbLivenessMessage(SbLivenessMessage lastReceived, java.lang.Object _payload)
           
 
Method Summary
private  long adj(long ms)
           
 long arrive()
           
 SbLivenessParams getParams()
           
 java.lang.Object getPayload()
           
 long getRoundtripTime()
           
 long getSendTime()
           
 long getTransitTime()
           
 boolean hasParams()
           
 boolean hasPayload()
           
private  void initMessage(SbLivenessMessage lastReceived)
           
 java.lang.Object peekPayload()
           
 void setParams(SbLivenessParams _params)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

payload

java.lang.Object payload

params

SbLivenessParams params

payloadFlag

boolean payloadFlag

creatorSendTime

long creatorSendTime

creatorLastMessageArriveTime

long creatorLastMessageArriveTime

partnerLastSendTime

long partnerLastSendTime

partnerArriveTime

long partnerArriveTime

paramsFlag

boolean paramsFlag
Constructor Detail

SbLivenessMessage

public SbLivenessMessage(SbLivenessMessage lastReceived)

SbLivenessMessage

public SbLivenessMessage()

SbLivenessMessage

public SbLivenessMessage(SbLivenessMessage lastReceived,
                         java.lang.Object _payload)
Method Detail

initMessage

private void initMessage(SbLivenessMessage lastReceived)

toString

public java.lang.String toString()

arrive

public long arrive()

hasPayload

public boolean hasPayload()

getPayload

public java.lang.Object getPayload()

peekPayload

public java.lang.Object peekPayload()

setParams

public void setParams(SbLivenessParams _params)

hasParams

public boolean hasParams()

getParams

public SbLivenessParams getParams()

getTransitTime

public long getTransitTime()

getRoundtripTime

public long getRoundtripTime()

getSendTime

public long getSendTime()

adj

private long adj(long ms)


Copyright (c) 2002-2003 New York University RLAB