org.mobicents.slee.resource.parlay.csapi.jr.cc.mpccs.activity.multipartycallcontrolmanager
Class MultiPartyCallControlManagerImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.csapi.jr.cc.mpccs.activity.multipartycallcontrolmanager.MultiPartyCallControlManagerImpl
All Implemented Interfaces:
org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection, org.mobicents.csapi.jr.slee.IpServiceConnection, MultiPartyCallControlManager, ServiceSession

public final class MultiPartyCallControlManagerImpl
extends java.lang.Object
implements MultiPartyCallControlManager

Class Description for MpccsSession


Field Summary
 
Fields inherited from interface org.mobicents.slee.resource.parlay.session.ServiceSession
GenericCallControl, MultiPartyCallControl, UserInteraction
 
Constructor Summary
MultiPartyCallControlManagerImpl(org.mobicents.csapi.jr.slee.TpServiceIdentifier serviceIdentifier, org.csapi.cc.mpccs.IpMultiPartyCallControlManager ipMultiPartyCallControlManager, FwSession fwSession, ActivityManager activityManager, MpccsListener eventListener)
           
 
Method Summary
protected  void activateIpAppMultiPartyCall()
           
protected  void activateIpAppMultiPartyCallControlManager()
           
 void addMultiPartyCall(int callSessionID, MultiPartyCall multiPartyCall)
           
 void callAborted(int arg0)
           
 void callOverloadCeased(int arg0)
           
 void callOverloadEncountered(int arg0)
           
 void changeNotification(int arg0, org.csapi.cc.TpCallNotificationRequest arg1)
           
 void closeConnection()
           
 org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier createCall()
           
 MultiPartyCall createCall(org.csapi.cc.mpccs.TpMultiPartyCallIdentifier corbaCallIdentifier)
          Utility method for creating a new Call.
 CallLeg createCallLeg(MultiPartyCall call, org.csapi.cc.mpccs.TpCallLegIdentifier identifier)
          Utility method for creating an new CallLeg.
 int createNotification(org.csapi.cc.TpCallNotificationRequest arg1)
           
protected  void createPOAs(org.omg.CORBA.Policy[] policies)
           
protected  void deactivateIpAppMultiPartyCall()
           
protected  void deactivateIpAppMultiPartyCallControlManager()
           
 void destroy()
          Destroys this session
 void destroyNotification(int arg0)
           
 void disableNotifications()
           
 int enableNotifications()
           
 org.omg.PortableServer.POA getIpAppCallLegPOA()
           
 org.csapi.cc.mpccs.IpAppMultiPartyCall getIpAppMultiPartyCall()
           
 org.csapi.cc.mpccs.IpAppMultiPartyCallControlManager getIpAppMultiPartyCallControlManager()
           
 IpAppMultiPartyCallControlManagerImpl getIpAppMultiPartyCallControlManagerImpl()
           
 IpAppMultiPartyCallImpl getIpAppMultiPartyCallImpl()
           
 org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnection getIpMultiPartyCallConnection(org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier multiPartyCallIdentifier)
           
 org.csapi.cc.mpccs.IpMultiPartyCallControlManager getIpMultiPartyCallControlManager()
           
 MultiPartyCall getMultiPartyCall(int callSessionID)
           
 org.csapi.cc.TpNotificationRequestedSetEntry getNextNotification(boolean arg0)
           
 org.csapi.cc.TpNotificationRequested[] getNotification()
           
 org.mobicents.csapi.jr.slee.TpServiceIdentifier getTpServiceIdentifier()
          Returns an identifier for the underlying service session
 int getType()
          Return an int identifying the type of this service.
 void init()
          Initialises this session.
 void managerInterrupted()
           
 void managerResumed()
           
 MultiPartyCall removeMultiPartyCall(int callSessionID)
           
 void reportNotification(org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier arg0, org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier[] arg1, org.csapi.cc.TpCallNotificationInfo arg2, int arg3)
           
 int setCallLoadControl(int arg0, org.csapi.cc.TpCallLoadControlMechanism arg1, org.csapi.cc.TpCallTreatment arg2, org.csapi.TpAddressRange arg3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiPartyCallControlManagerImpl

public MultiPartyCallControlManagerImpl(org.mobicents.csapi.jr.slee.TpServiceIdentifier serviceIdentifier,
                                        org.csapi.cc.mpccs.IpMultiPartyCallControlManager ipMultiPartyCallControlManager,
                                        FwSession fwSession,
                                        ActivityManager activityManager,
                                        MpccsListener eventListener)
Method Detail

init

public void init()
          throws javax.slee.resource.ResourceException
Description copied from interface: ServiceSession
Initialises this session.

Specified by:
init in interface ServiceSession
Throws:
javax.slee.resource.ResourceException

createPOAs

protected void createPOAs(org.omg.CORBA.Policy[] policies)
                   throws javax.slee.resource.ResourceException
Parameters:
policies -
Throws:
javax.slee.resource.ResourceException

activateIpAppMultiPartyCallControlManager

protected void activateIpAppMultiPartyCallControlManager()
                                                  throws javax.slee.resource.ResourceException
Throws:
javax.slee.resource.ResourceException

activateIpAppMultiPartyCall

protected void activateIpAppMultiPartyCall()
                                    throws javax.slee.resource.ResourceException
Throws:
javax.slee.resource.ResourceException

getType

public int getType()
Description copied from interface: ServiceSession
Return an int identifying the type of this service.

Specified by:
getType in interface ServiceSession
Returns:

getTpServiceIdentifier

public org.mobicents.csapi.jr.slee.TpServiceIdentifier getTpServiceIdentifier()
Description copied from interface: ServiceSession
Returns an identifier for the underlying service session

Specified by:
getTpServiceIdentifier in interface ServiceSession
Returns:

destroy

public void destroy()
Description copied from interface: ServiceSession
Destroys this session

Specified by:
destroy in interface ServiceSession

deactivateIpAppMultiPartyCallControlManager

protected void deactivateIpAppMultiPartyCallControlManager()

deactivateIpAppMultiPartyCall

protected void deactivateIpAppMultiPartyCall()

getIpAppMultiPartyCall

public org.csapi.cc.mpccs.IpAppMultiPartyCall getIpAppMultiPartyCall()
Specified by:
getIpAppMultiPartyCall in interface MultiPartyCallControlManager
Returns:
Returns the ipAppMultiPartyCall.

getIpAppMultiPartyCallControlManager

public org.csapi.cc.mpccs.IpAppMultiPartyCallControlManager getIpAppMultiPartyCallControlManager()
Specified by:
getIpAppMultiPartyCallControlManager in interface MultiPartyCallControlManager
Returns:
Returns the ipAppMultiPartyCallControlManager.

getIpAppMultiPartyCallControlManagerImpl

public IpAppMultiPartyCallControlManagerImpl getIpAppMultiPartyCallControlManagerImpl()
Specified by:
getIpAppMultiPartyCallControlManagerImpl in interface MultiPartyCallControlManager
Returns:
Returns the ipAppMultiPartyCallControlManagerImpl.

getIpAppMultiPartyCallImpl

public IpAppMultiPartyCallImpl getIpAppMultiPartyCallImpl()
Specified by:
getIpAppMultiPartyCallImpl in interface MultiPartyCallControlManager
Returns:
Returns the ipAppMultiPartyCallImpl.

getIpMultiPartyCallControlManager

public org.csapi.cc.mpccs.IpMultiPartyCallControlManager getIpMultiPartyCallControlManager()
Specified by:
getIpMultiPartyCallControlManager in interface MultiPartyCallControlManager
Returns:
Returns the ipMultiPartyCallControlManager.

getIpAppCallLegPOA

public org.omg.PortableServer.POA getIpAppCallLegPOA()
Specified by:
getIpAppCallLegPOA in interface MultiPartyCallControlManager
Returns:
Returns the POA used to create ipAppCallLegs

getMultiPartyCall

public MultiPartyCall getMultiPartyCall(int callSessionID)
Specified by:
getMultiPartyCall in interface MultiPartyCallControlManager
Returns:

removeMultiPartyCall

public MultiPartyCall removeMultiPartyCall(int callSessionID)
Specified by:
removeMultiPartyCall in interface MultiPartyCallControlManager
Returns:

addMultiPartyCall

public void addMultiPartyCall(int callSessionID,
                              MultiPartyCall multiPartyCall)
Specified by:
addMultiPartyCall in interface MultiPartyCallControlManager

createCall

public org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier createCall()
                                                                           throws org.csapi.TpCommonExceptions,
                                                                                  javax.slee.resource.ResourceException
Specified by:
createCall in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

createNotification

public int createNotification(org.csapi.cc.TpCallNotificationRequest arg1)
                       throws org.csapi.TpCommonExceptions,
                              org.csapi.P_INVALID_CRITERIA,
                              org.csapi.P_INVALID_EVENT_TYPE,
                              javax.slee.resource.ResourceException
Specified by:
createNotification in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_CRITERIA
org.csapi.P_INVALID_EVENT_TYPE
javax.slee.resource.ResourceException

destroyNotification

public void destroyNotification(int arg0)
                         throws org.csapi.TpCommonExceptions,
                                org.csapi.P_INVALID_ASSIGNMENT_ID
Specified by:
destroyNotification in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_ASSIGNMENT_ID

changeNotification

public void changeNotification(int arg0,
                               org.csapi.cc.TpCallNotificationRequest arg1)
                        throws org.csapi.TpCommonExceptions,
                               org.csapi.P_INVALID_ASSIGNMENT_ID,
                               org.csapi.P_INVALID_CRITERIA,
                               org.csapi.P_INVALID_EVENT_TYPE
Specified by:
changeNotification in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_ASSIGNMENT_ID
org.csapi.P_INVALID_CRITERIA
org.csapi.P_INVALID_EVENT_TYPE

getNotification

public org.csapi.cc.TpNotificationRequested[] getNotification()
                                                       throws org.csapi.TpCommonExceptions
Specified by:
getNotification in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions

setCallLoadControl

public int setCallLoadControl(int arg0,
                              org.csapi.cc.TpCallLoadControlMechanism arg1,
                              org.csapi.cc.TpCallTreatment arg2,
                              org.csapi.TpAddressRange arg3)
                       throws org.csapi.TpCommonExceptions,
                              org.csapi.P_INVALID_ADDRESS,
                              org.csapi.P_UNSUPPORTED_ADDRESS_PLAN
Specified by:
setCallLoadControl in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_ADDRESS
org.csapi.P_UNSUPPORTED_ADDRESS_PLAN

enableNotifications

public int enableNotifications()
                        throws org.csapi.TpCommonExceptions
Specified by:
enableNotifications in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions

disableNotifications

public void disableNotifications()
                          throws org.csapi.TpCommonExceptions
Specified by:
disableNotifications in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions

getNextNotification

public org.csapi.cc.TpNotificationRequestedSetEntry getNextNotification(boolean arg0)
                                                                 throws org.csapi.TpCommonExceptions
Specified by:
getNextNotification in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
org.csapi.TpCommonExceptions

reportNotification

public void reportNotification(org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier arg0,
                               org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier[] arg1,
                               org.csapi.cc.TpCallNotificationInfo arg2,
                               int arg3)
Specified by:
reportNotification in interface MultiPartyCallControlManager

callAborted

public void callAborted(int arg0)
Specified by:
callAborted in interface MultiPartyCallControlManager

managerInterrupted

public void managerInterrupted()
Specified by:
managerInterrupted in interface MultiPartyCallControlManager

managerResumed

public void managerResumed()
Specified by:
managerResumed in interface MultiPartyCallControlManager

callOverloadEncountered

public void callOverloadEncountered(int arg0)
Specified by:
callOverloadEncountered in interface MultiPartyCallControlManager

callOverloadCeased

public void callOverloadCeased(int arg0)
Specified by:
callOverloadCeased in interface MultiPartyCallControlManager

createCall

public MultiPartyCall createCall(org.csapi.cc.mpccs.TpMultiPartyCallIdentifier corbaCallIdentifier)
Utility method for creating a new Call.

Specified by:
createCall in interface MultiPartyCallControlManager
Returns:
See Also:
MultiPartyCallControlManager.createCall(org.csapi.cc.mpccs.TpMultiPartyCallIdentifier)

createCallLeg

public CallLeg createCallLeg(MultiPartyCall call,
                             org.csapi.cc.mpccs.TpCallLegIdentifier identifier)
Utility method for creating an new CallLeg.

Specified by:
createCallLeg in interface MultiPartyCallControlManager
Returns:
See Also:
MultiPartyCallControlManager.createCallLeg(org.mobicents.slee.resource.parlay.csapi.jr.cc.mpccs.activity.multipartycall.MultiPartyCall, org.csapi.cc.mpccs.TpCallLegIdentifier)

getIpMultiPartyCallConnection

public org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnection getIpMultiPartyCallConnection(org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier multiPartyCallIdentifier)
                                                                                              throws javax.slee.resource.ResourceException
Specified by:
getIpMultiPartyCallConnection in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallControlManagerConnection
Throws:
javax.slee.resource.ResourceException

closeConnection

public void closeConnection()
                     throws javax.slee.resource.ResourceException
Specified by:
closeConnection in interface org.mobicents.csapi.jr.slee.IpServiceConnection
Throws:
javax.slee.resource.ResourceException


Copyright © 2009. All Rights Reserved.