All Packages Class Hierarchy This Package Previous Next Index
Interface JavaGroups.JavaStack.LowLevelCommunication
- public interface LowLevelCommunication
This interface supports methods to handle low-level address stuff specific to
different communication protocols. For example, ATM addresses are different from Internet
addresses. A class implementing LowLevelCommunication needs to be able to create local
addresses (endpoints for unicast communication), find and reserve available multicast
addresses (assuming the multicast is available on all systems), and join and leave them.
The bottommost protocol layer in a protocol stack *has* to implement this interface
-
GetLocalAddress()
- Create a new unicast endpoint, e.g.
-
GetNewMulticastAddress()
- Chooses a multicast address that is not yet used by other entities.
-
JoinMulticastAddress(Address)
- Joins a multicast address.
-
LeaveMulticastAddress(Address)
-
GetLocalAddress
public abstract Address GetLocalAddress()
- Create a new unicast endpoint, e.g. in the case of the Internet protocol an
address consisting of an IP address and a port.
GetNewMulticastAddress
public abstract Address GetNewMulticastAddress()
- Chooses a multicast address that is not yet used by other entities. Consists of
IP address and port.
JoinMulticastAddress
public abstract void JoinMulticastAddress(Address mcast_address)
- Joins a multicast address.
- Parameters:
- mcast_address - Multicast address previously received by GetNewMulticastAddress
LeaveMulticastAddress
public abstract void LeaveMulticastAddress(Address mcast_address)
- Parameters:
- mcast_address - Multicast address previously received by GetNewMulticastAddress
All Packages Class Hierarchy This Package Previous Next Index