|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectzisko.multicastor.program.mmrp.DataPacket
public class DataPacket
Build a packet with source, destination, data length and the data which should be send as information.
Constructor Summary | |
---|---|
DataPacket()
|
Method Summary | |
---|---|
static byte[] |
getDataPacket(byte[] source,
byte[] destination,
byte[] data)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DataPacket()
Method Detail |
---|
public static byte[] getDataPacket(byte[] source, byte[] destination, byte[] data)
source
- is a byte array which contains the MAC address of the device which will send the packetdestination
- is a byte array which contains the MAC address of the device which should received the packetdata
- is a byte array which contains the data which should be send
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |