edu.rit.m2mp.udp
Class UDPMulticastChannel

java.lang.Object
  extended by edu.rit.m2mp.Channel
      extended by edu.rit.m2mp.udp.UDPChannel
          extended by edu.rit.m2mp.udp.UDPMulticastChannel

public class UDPMulticastChannel
extends UDPChannel

Class UDPMulticastChannel provides a broadcast M2MP Channel that uses UDP datagrams to transport M2MP packets. Each UDP datagram is sent to an IP multicast address and port number. Thus, all hosts that are using a UDPMulticastChannel with the same IP multicast address and port number receive the M2MP packets.

The following parameters from the M2MP properties file are used to configure a UDPMulticastChannel. See class M2MPProperties for further information.


Field Summary
 
Fields inherited from class edu.rit.m2mp.Channel
myPacketPool
 
Constructor Summary
UDPMulticastChannel(PacketPool thePacketPool)
          Construct a new UDP multicast channel.
 
Method Summary
 
Methods inherited from class edu.rit.m2mp.udp.UDPChannel
receivePacket, transmitPacket
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UDPMulticastChannel

public UDPMulticastChannel(PacketPool thePacketPool)
Construct a new UDP multicast channel. To receive incoming packets, the channel implementation will obtain Packet objects from the given PacketPool.

Parameters:
thePacketPool - Packet pool.
Throws:
NullPointerException - (unchecked exception) Thrown if thePacketPool is null.
M2MPInitializationException - (unchecked exception) Thrown if the UDP multicast channel cannot be initialized.


Copyright © 2001-2006 by Alan Kaminsky. All rights reserved. Send comments to ark­@­cs.rit.edu.