|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSim.Routing.DSR.AckHeader
public class AckHeader
AckHeader defines a packet that contains only an acknowledgement for a DSR packet. This is used for explicit acknowledgement and is required only for the last hop in a route.
| Constructor Summary | |
|---|---|
AckHeader(PacketId id)
Constructs a new ack for the given non-null Packet ID. |
|
| Method Summary | |
|---|---|
PacketId |
getId()
Returns the unique PacketId for the packet to be acknowledged. |
int |
getSize()
Returns the "serialized" size of this portion of the packet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AckHeader(PacketId id)
| Method Detail |
|---|
public PacketId getId()
public int getSize()
getSize in interface ProtocolFrame
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||