|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsidnet.stack.users.triggers_project.routing.MessageP2P
public class MessageP2P
Field Summary | |
---|---|
Location2D |
dstLocation
|
Payload |
payload
|
Fields inherited from interface jist.swans.misc.Message |
---|
NULL |
Constructor Summary | |
---|---|
MessageP2P(Location2D dstLocation,
Payload payload)
|
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 Location2D dstLocation
public Payload payload
Constructor Detail |
---|
public MessageP2P(Location2D dstLocation, Payload payload)
Method Detail |
---|
public int getSize()
getSize
in interface Message
public void getBytes(byte[] b, int offset)
getBytes
in interface Message
b
- destination byte arrayoffset
- byte array starting offset
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |