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

Method Index

 o addMCConnection(MCConnectionDescr)
Adds a new multicast connection descriptor to the hashtable containing all MC connections over the switch.
 o addPPConnection(PPConnectionDescr)
Adds a new point-to-point connection descriptor to the hashtable containing all PP connections over the switch.
 o createMCConnection(InetAddress)
Creates a new multicast connection
 o createPPConnection(InetAddress, InetAddress)
Creates a new point-to-point connection

Methods

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