All Packages Class Hierarchy This Package Previous Next Index
Class calypso.core.signalling.SignallingContextImpl
java.lang.Object
|
+----java.rmi.server.RemoteObject
|
+----java.rmi.server.RemoteServer
|
+----java.rmi.server.UnicastRemoteObject
|
+----calypso.core.signalling.SignallingContextImpl
- public class SignallingContextImpl
- extends UnicastRemoteObject
- implements SignallingContext, Runnable
A remote class that implements the Signalling Context interface.
The signalling context represents a single connection going through
a switch.
- Version:
- $Revision: 1.2 $
- Author:
- Juhana Räsänen
-
conn
-
-
connID
-
-
dest
-
-
fromPort
-
-
fromVCC
-
-
oPeer
-
-
tPeer
-
-
addLeg(Long, int, VPIVCI, InetAddress, SignallingContext)
-
-
addLeg(Long, VPIVCI, InetAddress, SignallingContext, InetAddress, InetAddress)
-
-
run()
- The run method is used to run the signalling context object in a
separate thread during the initial call setup.
-
setState(SignallingContextState)
- Changes the state of the SignallingContext.
-
setupComplete()
- This method "hardens" the soft state of the connection after the
connection setup is complete.
-
setupNewConnection(MCConnectionDescr, InetAddress, InetAddress)
-
-
setupNewConnection(PPConnectionDescr)
-
-
teardown()
- This method tears down the connection.
oPeer
SignallingContext oPeer
tPeer
SignallingContext tPeer
conn
VCConnectionDescr conn
connID
Long connID
fromPort
int fromPort
fromVCC
VPIVCI fromVCC
dest
InetAddress dest
setupNewConnection
public static SignallingContext setupNewConnection(PPConnectionDescr conn_)
setupNewConnection
public static SignallingContext setupNewConnection(MCConnectionDescr conn_,
InetAddress clientIP_,
InetAddress prevRouterIP_)
addLeg
public static SignallingContext addLeg(Long connID_,
int fromPort_,
VPIVCI fromVCC_,
InetAddress dest_,
SignallingContext oSide_)
addLeg
public static SignallingContext addLeg(Long connID_,
VPIVCI fromVCC_,
InetAddress dest_,
SignallingContext oSide_,
InetAddress clientIP_,
InetAddress prevRouterIP_)
setState
synchronized void setState(SignallingContextState state_)
- Changes the state of the SignallingContext.
- Parameters:
- state_ - The new state
setupComplete
public synchronized void setupComplete() throws RemoteException
- This method "hardens" the soft state of the connection after the
connection setup is complete. The message is forwarded towards the
originating side of the connection.
- Throws: RemoteException
- If remote method call fails
teardown
public synchronized void teardown() throws RemoteException
- This method tears down the connection.
- Throws: RemoteException
- If remote method call fails
run
public synchronized void run()
- The run method is used to run the signalling context object in a
separate thread during the initial call setup.
All Packages Class Hierarchy This Package Previous Next Index