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
-
PPConnectionDescr(InetAddress, VPIVCI, int, InetAddress, VPIVCI, int, PPConnection)
- Constructor to create a new PPConnectionDescription instance and
to generate a new ID number
-
PPConnectionDescr(InetAddress, VPIVCI, int, InetAddress, VPIVCI, int, PPConnection, Long)
- Constructor to create a new PPConnectionDescription instance with
pre-defined ID number
-
closeConnection()
- Closes the connection.
-
getConnection()
-
-
getConnID()
-
-
getIP1()
-
-
getIP2()
-
-
getPort1()
-
-
getPort2()
-
-
getSignallingContext()
- Gets the Signalling Context
-
getVCC1()
-
-
getVCC2()
-
-
setSignallingContext(SignallingContext)
- Sets the Signalling Context
-
toString()
- Returns textual representation of this PPConnection object.
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
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
toString
public String toString()
- Returns textual representation of this PPConnection object.
- Returns:
- Textual representation of this object.
- Overrides:
- toString in class RemoteObject
closeConnection
public void closeConnection() throws RemoteException
- Closes the connection. The resources reserved
for the connection are released.
setSignallingContext
public void setSignallingContext(SignallingContext sc_) throws RemoteException
- Sets the Signalling Context
- Parameters:
- sc_ - Signalling Context
getIP1
public InetAddress getIP1() throws RemoteException
- Returns:
- IP address of the server
getVCC1
public VPIVCI getVCC1() throws RemoteException
- Returns:
- VPI/VCI pair on the server's side of the switch
getPort1
public int getPort1() throws RemoteException
- Returns:
- port number on the server's side of the switch
getIP2
public InetAddress getIP2() throws RemoteException
- Returns:
- IP address of the client
getVCC2
public VPIVCI getVCC2() throws RemoteException
- Returns:
- VPI/VCI pair on the client's side of the switch
getPort2
public int getPort2() throws RemoteException
- Returns:
- port number on the router's side of the switch
getConnection
public PPConnection getConnection()
- Returns:
- connection
getConnID
public Long getConnID() throws RemoteException
- Returns:
- connection ID
getSignallingContext
public SignallingContext getSignallingContext()
- Gets the Signalling Context
- Returns:
- Signalling Context
All Packages Class Hierarchy This Package Previous Next Index