All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class calypso.core.connmanager.PPConnectionDescr

java.lang.Object
   |
   +----java.rmi.server.RemoteObject
           |
           +----java.rmi.server.RemoteServer
                   |
                   +----java.rmi.server.UnicastRemoteObject
                           |
                           +----calypso.core.connmanager.PPConnectionDescr

public class PPConnectionDescr
extends UnicastRemoteObject
implements VCConnectionDescr
Point-to-point connection descriptor

Author:
Jukka Aro / TCM Laboratory / HUT
See Also:
VCConnectionDescr, MCConnectionDescr

Constructor Index

 o PPConnectionDescr(InetAddress, VPIVCI, int, InetAddress, VPIVCI, int, PPConnection)
Constructor to create a new PPConnectionDescription instance and to generate a new ID number
 o PPConnectionDescr(InetAddress, VPIVCI, int, InetAddress, VPIVCI, int, PPConnection, Long)
Constructor to create a new PPConnectionDescription instance with pre-defined ID number

Method Index

 o closeConnection()
Closes the connection.
 o getConnection()
 o getConnID()
 o getIP1()
 o getIP2()
 o getPort1()
 o getPort2()
 o getSignallingContext()
Gets the Signalling Context
 o getVCC1()
 o getVCC2()
 o setSignallingContext(SignallingContext)
Sets the Signalling Context
 o toString()
Returns textual representation of this PPConnection object.

Constructors

 o PPConnectionDescr
 protected PPConnectionDescr(InetAddress IP1_,
                             VPIVCI VCC1_,
                             int port1_,
                             InetAddress IP2_,
                             VPIVCI VCC2_,
                             int port2_,
                             PPConnection ppc_,
                             Long connID_) throws RemoteException
Constructor to create a new PPConnectionDescription instance with pre-defined ID number

Parameters:
IP1_ - IP address of the server
VCC1_ - VPI/VCI pair on the server's side of the switch
port1_ - Port number on the server's side of the switch
IP2_ - IP address of the client
VCC2_ - VPI/VCI pair on the client's side of the switch
port2_ - Port number on the client's side of the switch
ppc_ - This point-to-point connection
connID_ - ID number of this point-to-point connection descriptor
 o PPConnectionDescr
 protected PPConnectionDescr(InetAddress IP1_,
                             VPIVCI VCC1_,
                             int port1_,
                             InetAddress IP2_,
                             VPIVCI VCC2_,
                             int port2_,
                             PPConnection ppc_) throws RemoteException
Constructor to create a new PPConnectionDescription instance and to generate a new ID number

Parameters:
IP1_ - IP address of the server
VCC1_ - VPI/VCI pair on the server's side of the switch
port1_ - Port number on the server's side of the switch
IP2_ - IP address of the client
VCC2_ - VPI/VCI pair on the client's side of the switch
port2_ - Port number on the client's side of the switch
ppc_ - This point-to-point connection

Methods

 o toString
 public String toString()
Returns textual representation of this PPConnection object.

Returns:
Textual representation of this object.
Overrides:
toString in class RemoteObject
 o closeConnection
 public void closeConnection() throws RemoteException
Closes the connection. The resources reserved for the connection are released.

 o setSignallingContext
 public void setSignallingContext(SignallingContext sc_) throws RemoteException
Sets the Signalling Context

Parameters:
sc_ - Signalling Context
 o getIP1
 public InetAddress getIP1() throws RemoteException
Returns:
IP address of the server
 o getVCC1
 public VPIVCI getVCC1() throws RemoteException
Returns:
VPI/VCI pair on the server's side of the switch
 o getPort1
 public int getPort1() throws RemoteException
Returns:
port number on the server's side of the switch
 o getIP2
 public InetAddress getIP2() throws RemoteException
Returns:
IP address of the client
 o getVCC2
 public VPIVCI getVCC2() throws RemoteException
Returns:
VPI/VCI pair on the client's side of the switch
 o getPort2
 public int getPort2() throws RemoteException
Returns:
port number on the router's side of the switch
 o getConnection
 public PPConnection getConnection()
Returns:
connection
 o getConnID
 public Long getConnID() throws RemoteException
Returns:
connection ID
 o getSignallingContext
 public SignallingContext getSignallingContext()
Gets the Signalling Context

Returns:
Signalling Context

All Packages  Class Hierarchy  This Package  Previous  Next  Index