org.mobicents.slee.resource.parlay.csapi.jr.cc.mpccs
Class IpCallLegConnectionImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.csapi.jr.cc.mpccs.IpCallLegConnectionImpl
All Implemented Interfaces:
org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection, org.mobicents.csapi.jr.slee.IpServiceConnection

public class IpCallLegConnectionImpl
extends java.lang.Object
implements org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection


Constructor Summary
IpCallLegConnectionImpl(CallLeg callLeg)
           
 
Method Summary
 void attachMediaReq()
           
 void closeConnection()
           
 void continueProcessing()
           
 void deassign()
           
 void detachMediaReq()
           
 void eventReportReq(org.csapi.cc.TpCallEventRequest[] eventsRequested)
           
 org.mobicents.csapi.jr.slee.cc.mpccs.TpMultiPartyCallIdentifier getCall()
           
 org.csapi.TpAddress getCurrentDestinationAddress()
           
 void getInfoReq(int callLegInfoRequested)
           
 void release(org.csapi.cc.TpReleaseCause cause)
           
 void routeReq(org.csapi.TpAddress targetAddress, org.csapi.TpAddress originatingAddress, org.csapi.cc.TpCallAppInfo[] appInfo, org.csapi.cc.TpCallLegConnectionProperties connectionProperties)
           
 void setAdviceOfCharge(org.csapi.TpAoCInfo aOCInfo, int tariffSwitch)
           
 void setChargePlan(org.csapi.cc.TpCallChargePlan callChargePlan)
           
 void superviseReq(int time, int treatment)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IpCallLegConnectionImpl

public IpCallLegConnectionImpl(CallLeg callLeg)
Method Detail

routeReq

public void routeReq(org.csapi.TpAddress targetAddress,
                     org.csapi.TpAddress originatingAddress,
                     org.csapi.cc.TpCallAppInfo[] appInfo,
                     org.csapi.cc.TpCallLegConnectionProperties connectionProperties)
              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
Specified by:
routeReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
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

eventReportReq

public void eventReportReq(org.csapi.cc.TpCallEventRequest[] eventsRequested)
                    throws org.csapi.TpCommonExceptions,
                           org.csapi.P_INVALID_EVENT_TYPE,
                           org.csapi.P_INVALID_CRITERIA,
                           javax.slee.resource.ResourceException
Specified by:
eventReportReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_EVENT_TYPE
org.csapi.P_INVALID_CRITERIA
javax.slee.resource.ResourceException

release

public void release(org.csapi.cc.TpReleaseCause cause)
             throws org.csapi.TpCommonExceptions,
                    org.csapi.P_INVALID_NETWORK_STATE,
                    javax.slee.resource.ResourceException
Specified by:
release in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException

getInfoReq

public void getInfoReq(int callLegInfoRequested)
                throws org.csapi.TpCommonExceptions,
                       javax.slee.resource.ResourceException
Specified by:
getInfoReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

getCall

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

attachMediaReq

public void attachMediaReq()
                    throws org.csapi.TpCommonExceptions,
                           org.csapi.P_INVALID_NETWORK_STATE,
                           javax.slee.resource.ResourceException
Specified by:
attachMediaReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException

detachMediaReq

public void detachMediaReq()
                    throws org.csapi.TpCommonExceptions,
                           org.csapi.P_INVALID_NETWORK_STATE,
                           javax.slee.resource.ResourceException
Specified by:
detachMediaReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException

getCurrentDestinationAddress

public org.csapi.TpAddress getCurrentDestinationAddress()
                                                 throws org.csapi.TpCommonExceptions,
                                                        javax.slee.resource.ResourceException
Specified by:
getCurrentDestinationAddress in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

continueProcessing

public void continueProcessing()
                        throws org.csapi.TpCommonExceptions,
                               org.csapi.P_INVALID_NETWORK_STATE,
                               javax.slee.resource.ResourceException
Specified by:
continueProcessing in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException

setChargePlan

public void setChargePlan(org.csapi.cc.TpCallChargePlan callChargePlan)
                   throws org.csapi.TpCommonExceptions,
                          javax.slee.resource.ResourceException
Specified by:
setChargePlan in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

setAdviceOfCharge

public void setAdviceOfCharge(org.csapi.TpAoCInfo aOCInfo,
                              int tariffSwitch)
                       throws org.csapi.TpCommonExceptions,
                              org.csapi.P_INVALID_CURRENCY,
                              org.csapi.P_INVALID_AMOUNT,
                              javax.slee.resource.ResourceException
Specified by:
setAdviceOfCharge in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_CURRENCY
org.csapi.P_INVALID_AMOUNT
javax.slee.resource.ResourceException

superviseReq

public void superviseReq(int time,
                         int treatment)
                  throws org.csapi.TpCommonExceptions,
                         javax.slee.resource.ResourceException
Specified by:
superviseReq in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

deassign

public void deassign()
              throws org.csapi.TpCommonExceptions,
                     javax.slee.resource.ResourceException
Specified by:
deassign in interface org.mobicents.csapi.jr.slee.cc.mpccs.IpCallLegConnection
Throws:
org.csapi.TpCommonExceptions
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.