|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectudt.packets.ControlPacket
udt.packets.Acknowledgement
public class Acknowledgement
Acknowledgement is sent by the UDTReceiver to the UDTSender to acknowledge
receipt of packets
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class udt.packets.ControlPacket |
|---|
ControlPacket.ControlPacketType |
| Field Summary |
|---|
| Fields inherited from class udt.packets.ControlPacket |
|---|
ackSequenceNumber, controlInformation, controlPacketType, destinationID, messageNumber, timeStamp |
| Constructor Summary | |
|---|---|
Acknowledgement()
|
|
Acknowledgement(byte[] controlInformation)
|
|
| Method Summary | |
|---|---|
byte[] |
encodeControlInformation()
this method builds the control information from the control parameters |
boolean |
equals(Object obj)
|
long |
getAckNumber()
get the ack number (the number up to which all packets have been received (excluding)) |
long |
getBufferSize()
|
long |
getEstimatedLinkCapacity()
|
long |
getPacketReceiveRate()
|
long |
getRoundTripTime()
get the round trip time (microseconds) |
long |
getRoundTripTimeVar()
|
void |
setBufferSize(long bufferSiZe)
|
void |
setEstimatedLinkCapacity(long estimatedLinkCapacity)
|
void |
setNexttoPrevPktSeqNO(long nexttoPrevPktSeqNO)
set the ack number (the number up to which all packets have been received (excluding)) |
void |
setPacketReceiveRate(long packetReceiveRate)
|
void |
setRoundTripTime(long RoundTripTime)
set the round trip time (in microseconds) |
void |
setRoundTripTimeVar(long roundTripTimeVar)
set the variance of the round trip time (in microseconds) |
| Methods inherited from class udt.packets.ControlPacket |
|---|
compareTo, forSender, getAckSequenceNumber, getControlPacketType, getDestinationID, getEncoded, getHeader, getMessageNumber, getPacketSequenceNumber, getSession, getTimeStamp, isConnectionHandshake, isControlPacket, setAckSequenceNumber, setDestinationID, setMessageNumber, setSession, setTimeStamp |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Acknowledgement()
public Acknowledgement(byte[] controlInformation)
| Method Detail |
|---|
public long getAckNumber()
public void setNexttoPrevPktSeqNO(long nexttoPrevPktSeqNO)
nexttoPrevPktSeqNO - public long getRoundTripTime()
public void setRoundTripTime(long RoundTripTime)
RoundTripTime - public void setRoundTripTimeVar(long roundTripTimeVar)
RoundTripTime - public long getRoundTripTimeVar()
public long getBufferSize()
public void setBufferSize(long bufferSiZe)
public long getPacketReceiveRate()
public void setPacketReceiveRate(long packetReceiveRate)
public long getEstimatedLinkCapacity()
public void setEstimatedLinkCapacity(long estimatedLinkCapacity)
public byte[] encodeControlInformation()
ControlPacket
encodeControlInformation in class ControlPacketpublic boolean equals(Object obj)
equals in class ControlPacket
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||