|
||||||||||
| 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.callleg.CallLegImpl
public class CallLegImpl
Class Description for CallLegImpl
| Constructor Summary | |
|---|---|
CallLegImpl(MultiPartyCallControlManager multiPartyCallControlManager,
MultiPartyCall multiPartyCall,
org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier tpCallLegIdentifier,
org.csapi.cc.mpccs.IpCallLeg ipCallLeg,
int callLegSessionID,
ActivityManager activityManager,
MpccsListener eventListener)
|
|
| Method Summary | |
|---|---|
void |
attachMediaErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
attachMediaReq()
|
void |
attachMediaRes(int arg0)
|
void |
callLegEnded(int arg0,
org.csapi.cc.TpReleaseCause arg1)
|
void |
closeConnection()
|
void |
continueProcessing()
|
void |
deassign()
|
void |
detachMediaErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
detachMediaReq()
|
void |
detachMediaRes(int arg0)
|
void |
dispose()
Destroys or deallocates all resources used by this call leg. |
void |
eventReportErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
eventReportReq(org.csapi.cc.TpCallEventRequest[] arg1)
|
void |
eventReportRes(int arg0,
org.csapi.cc.TpCallEventInfo arg1)
|
javax.slee.resource.ActivityHandle |
getActivityHandle()
|
org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier |
getCall()
|
org.csapi.TpAddress |
getCurrentDestinationAddress()
|
void |
getInfoErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
getInfoReq(int arg1)
|
void |
getInfoRes(int arg0,
org.csapi.cc.TpCallLegInfoReport arg1)
|
org.csapi.cc.mpccs.IpCallLeg |
getIpCallLeg()
|
MultiPartyCallControlManager |
getMpccsSession()
Return the Parlay Session. |
org.csapi.cc.mpccs.TpCallLegIdentifier |
getParlayTpCallLegIdentifier()
Return the Parlay identifier for this call. |
org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier |
getTpCallLegIdentifier()
Return the SLEE identifier for this call. |
void |
init()
Initialises the internal resources for this call leg. |
void |
release(org.csapi.cc.TpReleaseCause arg1)
|
void |
routeErr(int arg0,
org.csapi.cc.TpCallError arg1)
|
void |
routeReq(org.csapi.TpAddress arg1,
org.csapi.TpAddress arg2,
org.csapi.cc.TpCallAppInfo[] arg3,
org.csapi.cc.TpCallLegConnectionProperties arg4)
|
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 CallLegImpl(MultiPartyCallControlManager multiPartyCallControlManager,
MultiPartyCall multiPartyCall,
org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier tpCallLegIdentifier,
org.csapi.cc.mpccs.IpCallLeg ipCallLeg,
int callLegSessionID,
ActivityManager activityManager,
MpccsListener eventListener)
| Method Detail |
|---|
public void init()
CallLeg
init in interface CallLegpublic org.mobicents.csapi.jr.slee.cc.mpccs.TpCallLegIdentifier getTpCallLegIdentifier()
CallLeg
getTpCallLegIdentifier in interface CallLegpublic org.csapi.cc.mpccs.IpCallLeg getIpCallLeg()
public MultiPartyCallControlManager getMpccsSession()
CallLeg
getMpccsSession in interface CallLeg
public void routeReq(org.csapi.TpAddress arg1,
org.csapi.TpAddress arg2,
org.csapi.cc.TpCallAppInfo[] arg3,
org.csapi.cc.TpCallLegConnectionProperties arg4)
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_NETWORK_STATE,
org.csapi.P_INVALID_ADDRESS,
org.csapi.P_UNSUPPORTED_ADDRESS_PLAN,
javax.slee.resource.ResourceException
routeReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
org.csapi.P_INVALID_ADDRESS
org.csapi.P_UNSUPPORTED_ADDRESS_PLAN
javax.slee.resource.ResourceException
public void eventReportReq(org.csapi.cc.TpCallEventRequest[] arg1)
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_EVENT_TYPE,
org.csapi.P_INVALID_CRITERIA,
javax.slee.resource.ResourceException
eventReportReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
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.IpCallLegConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
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.IpCallLegConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier getCall()
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
getCall in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void attachMediaReq()
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
attachMediaReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
public void detachMediaReq()
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
detachMediaReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException
public org.csapi.TpAddress getCurrentDestinationAddress()
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
getCurrentDestinationAddress in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void continueProcessing()
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_NETWORK_STATE,
javax.slee.resource.ResourceException
continueProcessing in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
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.IpCallLegConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void setAdviceOfCharge(org.csapi.TpAoCInfo arg1,
int arg2)
throws org.csapi.TpCommonExceptions,
org.csapi.P_INVALID_CURRENCY,
org.csapi.P_INVALID_AMOUNT,
javax.slee.resource.ResourceException
setAdviceOfCharge in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
org.csapi.P_INVALID_CURRENCY
org.csapi.P_INVALID_AMOUNT
javax.slee.resource.ResourceException
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.IpCallLegConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void deassign()
throws org.csapi.TpCommonExceptions,
javax.slee.resource.ResourceException
deassign in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnectionorg.csapi.TpCommonExceptions
javax.slee.resource.ResourceException
public void eventReportRes(int arg0,
org.csapi.cc.TpCallEventInfo arg1)
eventReportRes in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void eventReportErr(int arg0,
org.csapi.cc.TpCallError arg1)
eventReportErr in interface org.csapi.cc.mpccs.IpAppCallLegOperationspublic void attachMediaRes(int arg0)
attachMediaRes in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void attachMediaErr(int arg0,
org.csapi.cc.TpCallError arg1)
attachMediaErr in interface org.csapi.cc.mpccs.IpAppCallLegOperationspublic void detachMediaRes(int arg0)
detachMediaRes in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void detachMediaErr(int arg0,
org.csapi.cc.TpCallError arg1)
detachMediaErr in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void getInfoRes(int arg0,
org.csapi.cc.TpCallLegInfoReport arg1)
getInfoRes in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void getInfoErr(int arg0,
org.csapi.cc.TpCallError arg1)
getInfoErr in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void routeErr(int arg0,
org.csapi.cc.TpCallError arg1)
routeErr in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void superviseRes(int arg0,
int arg1,
int arg2)
superviseRes in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void superviseErr(int arg0,
org.csapi.cc.TpCallError arg1)
superviseErr in interface org.csapi.cc.mpccs.IpAppCallLegOperations
public void callLegEnded(int arg0,
org.csapi.cc.TpReleaseCause arg1)
callLegEnded in interface org.csapi.cc.mpccs.IpAppCallLegOperationspublic void dispose()
CallLeg
dispose in interface CallLeg
public void closeConnection()
throws javax.slee.resource.ResourceException
closeConnection in interface org.mobicents.csapi.jr.slee.IpServiceConnectionjavax.slee.resource.ResourceExceptionpublic org.csapi.cc.mpccs.TpCallLegIdentifier getParlayTpCallLegIdentifier()
CallLeg
getParlayTpCallLegIdentifier in interface CallLegpublic javax.slee.resource.ActivityHandle getActivityHandle()
getActivityHandle in interface CallLeg
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||