All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.iap.IAPWithCA

java.lang.Object
   |
   +----ninja.rmi.NinjaRemoteObject
           |
           +----ninja.ispace.iSpaceService
                   |
                   +----iceberg.iap.IAP
                           |
                           +----iceberg.iap.IAPWithCA

public abstract class IAPWithCA
extends IAP
implements IAPIF, ConnectorMgrIF
Parent class for all IAPs that wish to operate with a call agent. This implements the non-relevant portions of the ConnectorMgrIF and leaves the relevant portions to be implemented by the actual IAP. It also has the fields that are common to all IAPs.


Variable Index

 o dummyOp
The OperatorIF to be returned on call to loadLocalOperator() -- this is dummy since it is not the real operator -- it only serves the function of telling the APC the block-size of packets from the source.
 o iPoP
The interface to the iPoP
 o iPoPHost
The serving iPoP
 o withCA
Am I running with a CallAgent?

Constructor Index

 o IAPWithCA(int, int)

Method Index

 o beHungUp(CallAgentIF, EndPointInfo)
This method is called by the serving Call Agent, when the current endpoint is hung up by the rest of the call participants.
 o cleanUp(int, OperatorIF, String)
Call for terminating the 'operator'
 o createEndConn(int, OperatorIF, int)
Dummy call
 o createOperator(int, String)
Return the interface to the dummy operator
 o createStartConn(int, OperatorIF, InetAddress, int, String)
This is the call that gives info on the destination of packets from vat.
 o initSockOp(int, DescrOperator, OperatorIF)
Dummy call
 o loadLocalOperator(int, DescrOperator, String, String)
Call for loading the 'operator'.
 o notifyInputFailure(String, int)
Dummy call
 o notifyOutputFailure(String, int)
Dummy call
 o rejected(String, String)
This method is invoked by the serving call agent when this device's invitation is rejected by the remote callee.
 o ring(CallAgentIF, String, String, String[])
Ring the device taking in the parameter of the serving CallAgent, the caller iUID, and the network specific ID caller specified, along with other call participants.
 o setAPCService(APCIF)
Dummy call

Variables

 o withCA
 public static boolean withCA
Am I running with a CallAgent?

 o iPoPHost
 public static String iPoPHost
The serving iPoP

 o iPoP
 public static iPOPIF iPoP
The interface to the iPoP

 o dummyOp
 public DummyOperator dummyOp
The OperatorIF to be returned on call to loadLocalOperator() -- this is dummy since it is not the real operator -- it only serves the function of telling the APC the block-size of packets from the source.

See Also:
DummyOperator

Constructors

 o IAPWithCA
 public IAPWithCA(int ipSz,
                  int opSz) throws RemoteException
Parameters:
ipSz: - the input block size for packets into this IAP
opSz: - the output block size for packets from this IAP

Methods

 o createOperator
 public final OperatorIF createOperator(int pathid,
                                        String name) throws IllegalArgumentException
Return the interface to the dummy operator

 o initSockOp
 public final int initSockOp(int pathid,
                             DescrOperator dLast,
                             OperatorIF opLast) throws RemoteException
Dummy call

 o createEndConn
 public final ConnEntry createEndConn(int connType,
                                      OperatorIF opDest,
                                      int port) throws RemoteException, IOException
Dummy call

 o setAPCService
 public final void setAPCService(APCIF apc) throws IOException, RemoteException
Dummy call

 o notifyInputFailure
 public final void notifyInputFailure(String name,
                                      int pathID) throws IOException, RemoteException
Dummy call

 o notifyOutputFailure
 public final void notifyOutputFailure(String name,
                                       int pathID) throws IOException, RemoteException
Dummy call

 o loadLocalOperator
 public abstract OperatorIF loadLocalOperator(int pathid,
                                              DescrOperator thedescr,
                                              String name,
                                              String sessionID) throws ClassNotFoundException, IllegalArgumentException, InstantiationException, IllegalAccessException, IOException, RemoteException
Call for loading the 'operator'. Return the interface to the dummy operator

 o createStartConn
 public abstract ConnEntry createStartConn(int connType,
                                           OperatorIF opSource,
                                           InetAddress addr,
                                           int port,
                                           String sessionID) throws RemoteException, IOException
This is the call that gives info on the destination of packets from vat.

 o cleanUp
 public abstract void cleanUp(int pathid,
                              OperatorIF op,
                              String sessionID) throws RemoteException
Call for terminating the 'operator'


All Packages  Class Hierarchy  This Package  Previous  Next  Index