All Packages Class Hierarchy This Package Previous Next Index
Interface calypso.core.connmanager.ConnectionManagerInterface
- public interface ConnectionManagerInterface
- extends Remote
The RMI interface class for the Calypso Connection Manager.
- Author:
- Jukka Aro / TCM Laboratory / HUT
- See Also:
- ConnectionManager
-
addMCConnection(MCConnectionDescr)
- Adds a new multicast connection descriptor to the hashtable
containing all MC connections over the switch.
-
addPPConnection(PPConnectionDescr)
- Adds a new point-to-point connection descriptor to the hashtable
containing all PP connections over the switch.
-
createMCConnection(InetAddress)
- Creates a new multicast connection
-
createPPConnection(InetAddress, InetAddress)
- Creates a new point-to-point connection
createPPConnection
public abstract VCConnectionDescr createPPConnection(InetAddress IP1,
InetAddress IP2) throws RemoteException, SwitchException
- Creates a new point-to-point connection
- Parameters:
- IP1 - Router's IP address
- IP2 - Client's IP address
- Returns:
- VCConnectionDescr describing the new connection
- Throws: RemoteException
- If some problems with the remote connection occur.
- Throws: SwitchException
- If IP addresses are not found in routing table.
createMCConnection
public abstract VCConnectionDescr createMCConnection(InetAddress IP1) throws RemoteException, SwitchException
- Creates a new multicast connection
- Parameters:
- IP1 - Router's IP address
- Returns:
- VCConnectionDescr describing the new connection
- Throws: RemoteException
- If some problems with the remote connection occur.
- Throws: SwitchException
- If router's IP address is not found in routing table.
addPPConnection
public abstract void addPPConnection(PPConnectionDescr ppcd) throws RemoteException
- Adds a new point-to-point connection descriptor to the hashtable
containing all PP connections over the switch.
- Parameters:
- ppcd - PP connection descriptor to be added
- Throws: RemoteException
- If some problems with the remote connection occur.
addMCConnection
public abstract void addMCConnection(MCConnectionDescr ppcd) throws RemoteException
- Adds a new multicast connection descriptor to the hashtable
containing all MC connections over the switch.
- Parameters:
- mccd - MC connection descriptor to be added
- Throws: RemoteException
- If some problems with the remote connection occur.
All Packages Class Hierarchy This Package Previous Next Index