All Packages Class Hierarchy This Package Previous Next Index
Class iceberg.iap.mm_iap.MM_IAP
java.lang.Object
|
+----ninja.rmi.NinjaRemoteObject
|
+----ninja.ispace.iSpaceService
|
+----iceberg.iap.IAP
|
+----iceberg.iap.IAPWithCA
|
+----iceberg.iap.mm_iap.MM_IAP
- public class MM_IAP
- extends IAPWithCA
- implements rmi2phone, IAPIF, ConnectorMgrIF
IAP for the MediaManager service. Can be run as an independent
program or as an iSpaceService. When run as an iSpaceService, it
uses a Call Agent for signaling. When run as an independent
program, it uses its own RMI signaling. To run as iSpaceService,
make MM_IAP extend IAP, and to run as an independent program, make
MM_IAP extend UnicastRemoteObject.
-
ipBSize
- The input block size
-
opBSize
- The output block size
-
MM_IAP()
-
-
beHungUp(CallAgentIF, EndPointInfo)
- RMI call from CA to terminate a call.
-
call2phone(rmi2phone_req)
- The RMI server.
-
call2phone(rmi2phone_req, CallAgentIF)
- This is the routine that implements the functionality for
incoming calls.
-
cleanUp(int, OperatorIF, String)
- Call for terminating the 'operator'
-
createStartConn(int, OperatorIF, InetAddress, int, String)
- This is the call that gives info on the destination of packets
from vat.
-
destroy()
- Required for running as iSpace service
-
handleDTMF(CallAgentIF, String, EndPointInfo)
- RMI call from call agent for incoming DTMF
-
init(iSpaceServiceConfig)
- init - to be called by iSpace
-
init(String, boolean)
-
-
loadLocalOperator(int, DescrOperator, String, String)
- Call for loading the 'operator'
-
main(String[])
-
-
rejected(String, String)
- RMI call from CA when remote end rejects call
-
ring(CallAgentIF, String, String, String[])
- The RMI interface for the CA to call on incoming call.
ipBSize
public static int ipBSize
- The input block size
opBSize
public static int opBSize
- The output block size
MM_IAP
public MM_IAP() throws RemoteException
call2phone
public rmi2phone_rep call2phone(rmi2phone_req req) throws RemoteException
- The RMI server. IAP handles incoming calls through this interface.
call2phone
public rmi2phone_rep call2phone(rmi2phone_req req,
CallAgentIF ca) throws RemoteException
- This is the routine that implements the functionality for
incoming calls. The same routine is used for call setup,
terminate, and for DTMF tones
ring
public RingReply ring(CallAgentIF ca,
String callerID,
String netSpecID,
String others[]) throws RemoteException
- The RMI interface for the CA to call on incoming call. This just
calls call2phone with the appropriate transformation of args and
return value.
- Overrides:
- ring in class IAPWithCA
beHungUp
public void beHungUp(CallAgentIF ca,
EndPointInfo info) throws RemoteException
- RMI call from CA to terminate a call. This just calls call2phone
with the appropriate transformation of args.
- Overrides:
- beHungUp in class IAPWithCA
rejected
public void rejected(String calleeAddr,
String pathInfo) throws RemoteException
- RMI call from CA when remote end rejects call
- Overrides:
- rejected in class IAPWithCA
handleDTMF
public void handleDTMF(CallAgentIF ca,
String tone,
EndPointInfo info) throws RemoteException
- RMI call from call agent for incoming DTMF
- Overrides:
- handleDTMF in class IAP
init
public void init(iSpaceServiceConfig config)
- init - to be called by iSpace
- Overrides:
- init in class IAP
main
public static void main(String argv[])
init
public static void init(String iPoPHost,
boolean withCA)
destroy
protected void destroy()
- Required for running as iSpace service
- Overrides:
- destroy in class iSpaceService
loadLocalOperator
public OperatorIF loadLocalOperator(int pathid,
DescrOperator thedescr,
String name,
String callid) throws ClassNotFoundException, IllegalArgumentException, InstantiationException, IllegalAccessException, IOException, RemoteException
- Call for loading the 'operator'
- Overrides:
- loadLocalOperator in class IAPWithCA
createStartConn
public ConnEntry createStartConn(int connType,
OperatorIF opSource,
InetAddress addr,
int port,
String callid) throws RemoteException, IOException
- This is the call that gives info on the destination of packets
from vat.
- Overrides:
- createStartConn in class IAPWithCA
cleanUp
public void cleanUp(int pathid,
OperatorIF op,
String callid) throws RemoteException
- Call for terminating the 'operator'
- Overrides:
- cleanUp in class IAPWithCA
All Packages Class Hierarchy This Package Previous Next Index