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

Variable Index

 o conn
 o connID
 o dest
 o fromPort
 o fromVCC
 o oPeer
 o tPeer

Method Index

 o addLeg(Long, int, VPIVCI, InetAddress, SignallingContext)
 o addLeg(Long, VPIVCI, InetAddress, SignallingContext, InetAddress, InetAddress)
 o run()
The run method is used to run the signalling context object in a separate thread during the initial call setup.
 o setState(SignallingContextState)
Changes the state of the SignallingContext.
 o setupComplete()
This method "hardens" the soft state of the connection after the connection setup is complete.
 o setupNewConnection(MCConnectionDescr, InetAddress, InetAddress)
 o setupNewConnection(PPConnectionDescr)
 o teardown()
This method tears down the connection.

Variables

 o oPeer
 SignallingContext oPeer
 o tPeer
 SignallingContext tPeer
 o conn
 VCConnectionDescr conn
 o connID
 Long connID
 o fromPort
 int fromPort
 o fromVCC
 VPIVCI fromVCC
 o dest
 InetAddress dest

Methods

 o setupNewConnection
 public static SignallingContext setupNewConnection(PPConnectionDescr conn_)
 o setupNewConnection
 public static SignallingContext setupNewConnection(MCConnectionDescr conn_,
                                                    InetAddress clientIP_,
                                                    InetAddress prevRouterIP_)
 o addLeg
 public static SignallingContext addLeg(Long connID_,
                                        int fromPort_,
                                        VPIVCI fromVCC_,
                                        InetAddress dest_,
                                        SignallingContext oSide_)
 o addLeg
 public static SignallingContext addLeg(Long connID_,
                                        VPIVCI fromVCC_,
                                        InetAddress dest_,
                                        SignallingContext oSide_,
                                        InetAddress clientIP_,
                                        InetAddress prevRouterIP_)
 o setState
 synchronized void setState(SignallingContextState state_)
Changes the state of the SignallingContext.

Parameters:
state_ - The new state
 o 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
 o teardown
 public synchronized void teardown() throws RemoteException
This method tears down the connection.

Throws: RemoteException
If remote method call fails
 o 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