All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class iceberg.ipop.CallAgent

java.lang.Object
   |
   +----ninja.rmi.NinjaRemoteObject
           |
           +----iceberg.ipop.CallAgent

public class CallAgent
extends NinjaRemoteObject
implements CallAgentIF, Serializable
CallAgent is dispatched by call agent dispatcher (CAD) of an iPOP for a communication device (or its proxy like IAP) to effect call setup and control.

See Also:
iPOPIF

Constructor Index

 o CallAgent()
Call agent constructor.

Method Index

 o beTerminated(String)
This method is called when the call is terminated by the rest of the call participants (i.e., call terminated passively).
 o changePath(EndPointInfo)
 o getID()
 o getParticipants()
Get the pariticipants of the call session.
 o getSigMcastAddr()
Obtain the signaling address this call agent is using.
 o getSigMcastPort()
Obtain the signaling port this call agent is using.
 o getStub()
Method to get the RMI call stub of the call agent.
 o getTransportMcastAddr()
Obtain the transport mcast address this session is using.
 o getTransportMcastPort()
Obtain the transport mcast address this session is using.
 o handleEndPointChange(CallState, CallState)
 o handleEndPointLeave(CallState)
 o handleIncomingCall(IncomingCallRequest)
Method to handle incoming call to the device this call agent is serving.
 o handleNewEndPoint(CallState)
 o handleOutgoingCall(OutgoingCallRequest)
Method to handle the outgoing call for a device.
 o handleOutgoingDTMF(String)
 o setIPOP(iPOPIF)
 o terminateCall()
Method to terminate the ongoing call for the communication device.

Constructors

 o CallAgent
 public CallAgent() throws RemoteException
Call agent constructor.

Methods

 o setIPOP
 public void setIPOP(iPOPIF ipop)
 o getID
 public String getID() throws RemoteException
 o getStub
 public NinjaRemoteStub getStub()
Method to get the RMI call stub of the call agent.

Returns:
NinjaRemoteStub
Overrides:
getStub in class NinjaRemoteObject
 o getSigMcastAddr
 public String getSigMcastAddr() throws RemoteException
Obtain the signaling address this call agent is using.

 o getSigMcastPort
 public int getSigMcastPort() throws RemoteException
Obtain the signaling port this call agent is using.

 o getTransportMcastAddr
 public String getTransportMcastAddr() throws RemoteException
Obtain the transport mcast address this session is using.

 o getTransportMcastPort
 public int getTransportMcastPort() throws RemoteException
Obtain the transport mcast address this session is using.

 o handleIncomingCall
 public synchronized RingReply handleIncomingCall(IncomingCallRequest rq) throws RemoteException
Method to handle incoming call to the device this call agent is serving.

Parameters:
rq - IncomingCallRequest
See Also:
IncomingCallRequest
 o handleOutgoingCall
 public boolean handleOutgoingCall(OutgoingCallRequest callRequest) throws RemoteException
Method to handle the outgoing call for a device.

Parameters:
callRequest - outgoing call request
Returns:
true if successful, false if not
 o beTerminated
 public synchronized void beTerminated(String uniqueID)
This method is called when the call is terminated by the rest of the call participants (i.e., call terminated passively).

 o terminateCall
 public synchronized void terminateCall() throws RemoteException
Method to terminate the ongoing call for the communication device.

 o getParticipants
 public String[] getParticipants() throws RemoteException
Get the pariticipants of the call session.

 o handleEndPointChange
 public void handleEndPointChange(CallState oldCallState,
                                  CallState newCallState) throws RemoteException
 o handleNewEndPoint
 public synchronized void handleNewEndPoint(CallState newCallState)
 o handleEndPointLeave
 public void handleEndPointLeave(CallState callState)
 o handleOutgoingDTMF
 public void handleOutgoingDTMF(String tone) throws RemoteException
 o changePath
 public void changePath(EndPointInfo newEndPointInfo) throws RemoteException, PathNotFoundException

All Packages  Class Hierarchy  This Package  Previous  Next  Index