|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectzisko.multicastor.program.mmrp.MMRPEntity
zisko.multicastor.program.mmrp.MMRPReceiver
public class MMRPReceiver
Receives packets which are send from the stream.
Constructor Summary | |
---|---|
MMRPReceiver(byte[] deviceMACAddress,
byte[] streamMACAddress)
|
Method Summary | |
---|---|
void |
stopLoop()
Stops the procedure which caputures the packets |
boolean |
waitForDataPacketAndGetIt(byte[] buffer)
Capture all packets which has the stream MAC address as destination |
Methods inherited from class zisko.multicastor.program.mmrp.MMRPEntity |
---|
deregisterAllPaths, deregisterPath, registerPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MMRPReceiver(byte[] deviceMACAddress, byte[] streamMACAddress) throws java.io.IOException
deviceMACAddress
- is a byte array which contains the MAC address of the network device.streamMACAddress
- is a byte array which contains the Address of the multicast group
java.io.IOException
- if the network device was not foundMethod Detail |
---|
public void stopLoop()
public boolean waitForDataPacketAndGetIt(byte[] buffer)
buffer
- in which the content of the packet will be written
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |