zisko.multicastor.program.mmrp
Class MMRPSender

java.lang.Object
  extended by zisko.multicastor.program.mmrp.MMRPEntity
      extended by zisko.multicastor.program.mmrp.MMRPSender

public class MMRPSender
extends MMRPEntity

Send data packets into the MMRPPath


Constructor Summary
MMRPSender(byte[] deviceMACAddress, byte[] streamMACAddress)
           
 
Method Summary
 void sendDataPacket(byte[] data)
           
 
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

MMRPSender

public MMRPSender(byte[] deviceMACAddress,
                  byte[] streamMACAddress)
           throws java.io.IOException
Parameters:
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
Throws:
java.io.IOException - if the network device was not found
Method Detail

sendDataPacket

public void sendDataPacket(byte[] data)
                    throws java.io.IOException
Parameters:
data - is a byte array which contains the data which should be send
Throws:
java.io.IOException - if network device was not found