org.kth.dks.planetlab.messages
Class StrechMeasurementMsg

java.lang.Object
  extended by org.kth.dks.dks_marshal.DKSMessage
      extended by org.kth.dks.planetlab.messages.StrechMeasurementMsg

public class StrechMeasurementMsg
extends DKSMessage


Field Summary
static java.lang.String NAME
           
 
Fields inherited from class org.kth.dks.dks_marshal.DKSMessage
ele, eleCnt, marshaler, messageMap, messageMapUnsync, pCount, xmsg
 
Constructor Summary
StrechMeasurementMsg()
           
StrechMeasurementMsg(java.lang.String fromHostname, DKSRef fromDKSRef, long fromIp, long toIp, int dksRttMs, int ipRttMs)
           
 
Method Summary
 int getDksRttMs()
           
 DKSRef getFromDKSRef()
           
 java.lang.String getFromHostname()
           
 long getFromIp()
           
 int getIpRttMs()
           
 java.lang.String getName()
           
 long getToIp()
           
 void marshal()
           
 void setDksRttMs(int dksRttMs)
           
 void setFromDKSRef(DKSRef fomDKSRef)
           
 void setFromHostname(java.lang.String fromHostname)
           
 void setFromIp(long fromIp)
           
 void setIpRttMs(int ipRttMs)
           
 void setToIp(long toIp)
           
 void unmarshal()
           
 
Methods inherited from class org.kth.dks.dks_marshal.DKSMessage
addMessageType, addMessageTypePrefixed, flatten, getRecvRef, getSendRef, setRecvRef, setSendRef, unmarshal, unmarshal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static java.lang.String NAME
Constructor Detail

StrechMeasurementMsg

public StrechMeasurementMsg()

StrechMeasurementMsg

public StrechMeasurementMsg(java.lang.String fromHostname,
                            DKSRef fromDKSRef,
                            long fromIp,
                            long toIp,
                            int dksRttMs,
                            int ipRttMs)
Method Detail

getFromHostname

public java.lang.String getFromHostname()

setFromHostname

public void setFromHostname(java.lang.String fromHostname)

getFromDKSRef

public DKSRef getFromDKSRef()

setFromDKSRef

public void setFromDKSRef(DKSRef fomDKSRef)

getDksRttMs

public int getDksRttMs()

setDksRttMs

public void setDksRttMs(int dksRttMs)

getFromIp

public long getFromIp()

setFromIp

public void setFromIp(long fromIp)

getIpRttMs

public int getIpRttMs()

setIpRttMs

public void setIpRttMs(int ipRttMs)

getToIp

public long getToIp()

setToIp

public void setToIp(long toIp)

getName

public java.lang.String getName()
Specified by:
getName in class DKSMessage

marshal

public void marshal()
             throws java.io.IOException
Specified by:
marshal in class DKSMessage
Throws:
java.io.IOException

unmarshal

public void unmarshal()
               throws java.io.IOException
Specified by:
unmarshal in class DKSMessage
Throws:
java.io.IOException


Copyright © 2010. All Rights Reserved.