zisko.multicastor.program.mmrp
Class PacketHandler

java.lang.Object
  extended by zisko.multicastor.program.mmrp.PacketHandler

public class PacketHandler
extends java.lang.Object

The PacketHandler sends packets through the network device


Constructor Summary
PacketHandler()
           
 
Method Summary
static void sendPacket(byte[] deviceMACAddress, byte[] packet)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PacketHandler

public PacketHandler()
Method Detail

sendPacket

public static void sendPacket(byte[] deviceMACAddress,
                              byte[] packet)
                       throws java.io.IOException
Parameters:
deviceMACAddress - is the MAC address of the network device
packet - is the packet which should be send
Throws:
java.io.IOException - if the hardware device was not found