zisko.multicastor.program.mmrp
Class MMRPEntity

java.lang.Object
  extended by zisko.multicastor.program.mmrp.MMRPEntity
Direct Known Subclasses:
MMRPReceiver, MMRPSender

public class MMRPEntity
extends java.lang.Object

A sender and a receiver have to be available to register and deregister MMRP Paths. So this class contains the logic how to do these operations and the sender and receiver will inherit of this class.


Constructor Summary
MMRPEntity(byte[] deviceMACAddress, byte[] streamMACAddress)
          Create the MMRP Entity.
 
Method Summary
 void deregisterAllPaths()
          Deregister all active MMRP paths
 void deregisterPath()
          Deregister a MMRP path
 void registerPath()
          Register a MMRP path
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MMRPEntity

public MMRPEntity(byte[] deviceMACAddress,
                  byte[] streamMACAddress)
           throws java.io.IOException
Create the MMRP Entity.

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

registerPath

public void registerPath()
                  throws java.io.IOException
Register a MMRP path

Throws:
java.io.IOException - if the network device was not found

deregisterPath

public void deregisterPath()
                    throws java.io.IOException
Deregister a MMRP path

Throws:
java.io.IOException - if the network device was not found

deregisterAllPaths

public void deregisterAllPaths()
                        throws java.io.IOException
Deregister all active MMRP paths

Throws:
java.io.IOException - if the network device was not found