hypercast
Interface I_MulticastAdapter

All Superinterfaces:
I_IPv4_UnicastAdapter, I_Stats, I_UnicastAdapter
All Known Implementing Classes:
SecurityProcessor, TCP_UDP_Adapter, UDP_MulticastAdapter

public interface I_MulticastAdapter
extends I_IPv4_UnicastAdapter

This interface defines functions that a multicast adapter should implement. It is implemented by the class UDP_MulticastAdapter. It extends I_UnicastAdapter interface. *


Field Summary
 
Fields inherited from interface hypercast.I_IPv4_UnicastAdapter
MAX_RETRIES_TO_OPEN_SOCKET
 
Fields inherited from interface hypercast.I_UnicastAdapter
CLOSED, STARTED, STARTING, STOPPED, STOPPING
 
Method Summary
 hypercast.I_PhysicalAddress getMulticastAddress()
          Returns the multicast address of the adapter.
 void sendMulticastMessage(hypercast.I_Message mp)
          Send a message to a multicast group.
 
Methods inherited from interface hypercast.I_UnicastAdapter
clearTimer, close, createPhysicalAddress, createPhysicalAddress, createPhysicalAddress, createUnderlayAddress, createUnderlayAddress, createUnderlayAddress, getCurrentTime, getInfo, getPhysicalAddressSize, getTimer, getUnderlayAddressSize, Reset, sendUnicastMessage, setCallback, setTimer, Start, Stop, Stop
 
Methods inherited from interface hypercast.I_Stats
getReadSchema, getStats, getStatsName, getWriteSchema, setStats, setStatsName
 

Method Detail

sendMulticastMessage

public void sendMulticastMessage(hypercast.I_Message mp)
Send a message to a multicast group.

Throws:
java.lang.IllegalStateException - if the adapter is not running.

getMulticastAddress

public hypercast.I_PhysicalAddress getMulticastAddress()
Returns the multicast address of the adapter.