|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mobicents.slee.resource.parlay.csapi.jr.cc.mpccs.activity.multipartycall.MultiPartyCallImpl
public class MultiPartyCallImpl
Context object for a Multi Party Call.
| Constructor Summary | |
|---|---|
MultiPartyCallImpl(MultiPartyCallControlManager multiPartyCallControlManager,
org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier tpMultiPartyCallIdentifier,
org.csapi.cc.mpccs.IpMultiPartyCall ipMultiPartyCall,
int callSessionID,
ActivityManager activityManager,
MpccsListener eventListener,
EDU.oswego.cs.dl.util.concurrent.Executor[] ipAppCallLegExecutors)
|
|
| Method Summary | |
|---|---|
protected void |
activateIpAppCallLeg()
|
void |
addCallLeg(int callLegSessionID,
CallLeg callLeg)
Stores a new call leg in this call. |
void |
callEnded(int arg0,
org.csapi.cc.TpCallEndedReport arg1)
|
void |
closeConnection()
|
void |
createAndRouteCallLegErr(int arg0,
org.csapi.cc.mpccs.TpCallLegIdentifier arg1,
org.csapi.cc.TpCallError arg2)
|
org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier |
createAndRouteCallLegReq(org.csapi.cc.TpCallEventRequest[] arg1,
org.csapi.TpAddress arg2,
org.csapi.TpAddress arg3,
org.csapi.cc.TpCallAppInfo[] arg4)
|
org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier |
createCallLeg()
|
void |
deassignCall()
|
void |
dispose()
Destroys or deallocates all resources used by this call. |
javax.slee.resource.ActivityHandle |
getActivityHandle()
|
CallLeg |
getCallLeg(int callLegSessionID)
Return the call leg identified by the Slee call leg identifier. |
org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier[] |
getCallLegs()
|
int |
getCallSessionID()
|
void |
getInfoErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
getInfoReq(int arg1)
|
void |
getInfoRes(int arg0,
org.csapi.cc.TpCallInfoReport arg1)
|
org.csapi.cc.mpccs.IpAppCallLeg |
getIpAppCallLeg()
Return the call leg callback. |
org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection |
getIpCallLegConnection(org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier callLegIdentifier)
|
org.csapi.cc.mpccs.IpMultiPartyCall |
getIpMultiPartyCall()
|
org.csapi.cc.mpccs.TpMultiPartyCallIdentifier |
getParlayTpMultiPartyCallIdentifier()
Return the underlying gateway interface. |
org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier |
getTpMultiPartyCallIdentifier()
Return the SLEE identifier for this call. |
void |
init()
Initialises the internal resources for this call. |
void |
release(org.csapi.cc.TpReleaseCause arg1)
|
CallLeg |
removeCallLeg(int callLegSessionID)
Removes a new call leg in this call. |
void |
setAdviceOfCharge(org.csapi.TpAoCInfo arg1,
int arg2)
|
void |
setChargePlan(org.csapi.cc.TpCallChargePlan arg1)
|
void |
superviseErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
superviseReq(int arg1,
int arg2)
|
void |
superviseRes(int arg0,
int arg1,
int arg2)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiPartyCallImpl(MultiPartyCallControlManager multiPartyCallControlManager,
org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier tpMultiPartyCallIdentifier,
org.csapi.cc.mpccs.IpMultiPartyCall ipMultiPartyCall,
int callSessionID,
ActivityManager activityManager,
MpccsListener eventListener,
EDU.oswego.cs.dl.util.concurrent.Executor[] ipAppCallLegExecutors)
| Method Detail |
|---|
public void init()
MultiPartyCall
init in interface MultiPartyCallprotected void activateIpAppCallLeg()
public org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier getTpMultiPartyCallIdentifier()
MultiPartyCall
getTpMultiPartyCallIdentifier in interface MultiPartyCallpublic org.csapi.cc.mpccs.IpAppCallLeg getIpAppCallLeg()
MultiPartyCall
getIpAppCallLeg in interface MultiPartyCallpublic CallLeg getCallLeg(int callLegSessionID)
MultiPartyCall
getCallLeg in interface MultiPartyCall
public void addCallLeg(int callLegSessionID,
CallLeg callLeg)
MultiPartyCall
addCallLeg in interface MultiPartyCallpublic CallLeg removeCallLeg(int callLegSessionID)
MultiPartyCall
removeCallLeg in interface MultiPartyCallpublic org.csapi.cc.mpccs.IpMultiPartyCall getIpMultiPartyCall()
public int getCallSessionID()
public javax.slee.resource.ActivityHandle getActivityHandle()
getActivityHandle in interface MultiPartyCall
public org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier[] getCallLegs()
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
getCallLegs in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier createCallLeg()
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
createCallLeg in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier createAndRouteCallLegReq(org.csapi.cc.TpCallEventRequest[] arg1,
org.csapi.TpAddress arg2,
org.csapi.TpAddress arg3,
org.csapi.cc.TpCallAppInfo[] arg4)
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_ADDRESS,
org.csapi.P_UNSUPPORTED_ADDRESS_PLAN,
org.csapi.P_INVALID_NETWORK_STATE,
org.csapi.P_INVALID_EVENT_TYPE,
org.csapi.P_INVALID_CRITERIA,
javax.slee.resource.ResourceException
createAndRouteCallLegReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_ADDRESS
org.csapi.P_UNSUPPORTED_ADDRESS_PLAN
org.csapi.P_INVALID_NETWORK_STATE
org.csapi.P_INVALID_EVENT_TYPE
org.csapi.P_INVALID_CRITERIA
javax.slee.resource.ResourceException
public void release(org.csapi.cc.TpReleaseCause arg1)
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
release in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
public void deassignCall()
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
deassignCall in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void getInfoReq(int arg1)
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
getInfoReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void setChargePlan(org.csapi.cc.TpCallChargePlan arg1)
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
setChargePlan in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void setAdviceOfCharge(org.csapi.TpAoCInfo arg1,
int arg2)
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException,
org.csapi.P_INVALID_CURRENCY,
org.csapi.P_INVALID_AMOUNT
setAdviceOfCharge in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
org.csapi.P_INVALID_CURRENCY
org.csapi.P_INVALID_AMOUNT
public void superviseReq(int arg1,
int arg2)
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
superviseReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void getInfoRes(int arg0,
org.csapi.cc.TpCallInfoReport arg1)
getInfoRes in interface org.csapi.cc.mpccs.IpAppMultiPartyCallOperations
public void getInfoErr(int arg0,
org.csapi.cc.TpCallError arg1)
getInfoErr in interface org.csapi.cc.mpccs.IpAppMultiPartyCallOperations
public void superviseRes(int arg0,
int arg1,
int arg2)
superviseRes in interface org.csapi.cc.mpccs.IpAppMultiPartyCallOperations
public void superviseErr(int arg0,
org.csapi.cc.TpCallError arg1)
superviseErr in interface org.csapi.cc.mpccs.IpAppMultiPartyCallOperations
public void callEnded(int arg0,
org.csapi.cc.TpCallEndedReport arg1)
callEnded in interface org.csapi.cc.mpccs.IpAppMultiPartyCallOperations
public void createAndRouteCallLegErr(int arg0,
org.csapi.cc.mpccs.TpCallLegIdentifier arg1,
org.csapi.cc.TpCallError arg2)
createAndRouteCallLegErr in interface org.csapi.cc.mpccs.IpAppMultiPartyCallOperationspublic void dispose()
MultiPartyCall
dispose in interface MultiPartyCall
public org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection getIpCallLegConnection(org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier callLegIdentifier)
throws javax.slee.resource.ResourceException
getIpCallLegConnection in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpMultiPartyCallConnectionjavax.slee.resource.ResourceException
public void closeConnection()
throws javax.slee.resource.ResourceException
closeConnection in interface org.mobicents.csapi.jr.slee.IpServiceConnectionjavax.slee.resource.ResourceExceptionpublic org.csapi.cc.mpccs.TpMultiPartyCallIdentifier getParlayTpMultiPartyCallIdentifier()
MultiPartyCall
getParlayTpMultiPartyCallIdentifier in interface MultiPartyCall
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||