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


Method Index

 o GetLocalAddress()
Create a new unicast endpoint, e.g.
 o GetNewMulticastAddress()
Chooses a multicast address that is not yet used by other entities.
 o JoinMulticastAddress(Address)
Joins a multicast address.
 o LeaveMulticastAddress(Address)

Methods

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

 o GetNewMulticastAddress
 public abstract Address GetNewMulticastAddress()
Chooses a multicast address that is not yet used by other entities. Consists of IP address and port.

 o JoinMulticastAddress
 public abstract void JoinMulticastAddress(Address mcast_address)
Joins a multicast address.

Parameters:
mcast_address - Multicast address previously received by GetNewMulticastAddress
 o 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