gov.nist.antd.mpls.signaling.ouni
Class OUNI_N.ClientInfo

java.lang.Object
  |
  +--gov.nist.antd.mpls.signaling.ouni.OUNI_N.ClientInfo
Enclosing class:
OUNI_N

public class OUNI_N.ClientInfo
extends java.lang.Object

Class ClientInfo A ClientInfo class has informations of the OUNI_C which is connected to the OUNI_N, and it is recorded at the OUNIClientTblae.

Author:
EunHyuk Lim (ehlim@antd.nist.gov, othree28@hotmail.com)

Field Summary
 MPLSInterfaceInfo clientIfaceInfo
          Field clientIfaceInfo - reference : (c)
 java.util.Vector ConnectionInfoTable
          Field ConnectionInfoTable
 OUNI_C OUNIClient
          Field OUNIClient - reference : (a)
 double PropagationDelay
          Field PropagationDelay
 MPLSInterfaceInfo serverIfaceInfo
          Field serverIfaceInfo - reference : (d)
 
Constructor Summary
OUNI_N.ClientInfo()
          Constructor ClientInfo
OUNI_N.ClientInfo(OUNI_C client)
          Constructor ClientInfo
 
Method Summary
 void addConnection(OUNIConnection connection)
          Method addConnection Add connetion to the table
 int getClientIPAddr()
          Request the clients ip address.
 int getServerIPAddr()
          Request the servers ip address.
 boolean isConnectionhere(OUNIConnection connection)
          Method isConnectionhere Check if the connection exist between O-UNI Server and Client
 void removeConnection(OUNIConnection connection)
          Method removeConnection Remove the connection from the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OUNIClient

public OUNI_C OUNIClient
Field OUNIClient - reference : (a)


clientIfaceInfo

public MPLSInterfaceInfo clientIfaceInfo
Field clientIfaceInfo - reference : (c)


serverIfaceInfo

public MPLSInterfaceInfo serverIfaceInfo
Field serverIfaceInfo - reference : (d)


PropagationDelay

public double PropagationDelay
Field PropagationDelay


ConnectionInfoTable

public java.util.Vector ConnectionInfoTable
Field ConnectionInfoTable

Constructor Detail

OUNI_N.ClientInfo

public OUNI_N.ClientInfo()
Constructor ClientInfo


OUNI_N.ClientInfo

public OUNI_N.ClientInfo(OUNI_C client)
Constructor ClientInfo

Parameters:
client - - O-UNI Client
Method Detail

getClientIPAddr

public int getClientIPAddr()
Request the clients ip address.

Returns:
int The client IP address

getServerIPAddr

public int getServerIPAddr()
Request the servers ip address.

Returns:
int The server IP address

addConnection

public void addConnection(OUNIConnection connection)
Method addConnection Add connetion to the table

Parameters:
connection -

removeConnection

public void removeConnection(OUNIConnection connection)
Method removeConnection Remove the connection from the table

Parameters:
connection -

isConnectionhere

public boolean isConnectionhere(OUNIConnection connection)
Method isConnectionhere Check if the connection exist between O-UNI Server and Client

Parameters:
connection -
Returns:
boolean - True if exists