|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsidnet.stack.users.marco_project.packet_centric.routing.AckMessage
public class AckMessage
| Field Summary | |
|---|---|
int |
routeId
|
long |
sequenceNumber
|
Coordinate |
snk
|
Coordinate |
src
|
| Fields inherited from interface jist.swans.misc.Message |
|---|
NULL |
| Constructor Summary | |
|---|---|
AckMessage(Coordinate src,
Coordinate snk,
int routeId,
long sequenceNumber)
|
|
| Method Summary | |
|---|---|
void |
getBytes(byte[] b,
int offset)
Store packet into byte array. |
int |
getSize()
Return packet size or Constants.ZERO_WIRE_SIZE. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public Coordinate src
public Coordinate snk
public int routeId
public long sequenceNumber
| Constructor Detail |
|---|
public AckMessage(Coordinate src,
Coordinate snk,
int routeId,
long sequenceNumber)
| Method Detail |
|---|
public void getBytes(byte[] b,
int offset)
getBytes in interface Messageb - destination byte arrayoffset - byte array starting offsetpublic int getSize()
getSize in interface Message
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||