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.
*
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 |
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.