org.mobicents.slee.resource.parlay.csapi.jr.cc.gccs.activity.call
Class CallImpl

java.lang.Object
  extended by org.mobicents.slee.resource.parlay.csapi.jr.cc.gccs.activity.call.CallImpl
All Implemented Interfaces:
org.csapi.cc.gccs.IpAppCallOperations, org.csapi.IpInterfaceOperations, org.mobicents.csapi.jr.slee.cc.gccs.IpCallConnection, org.mobicents.csapi.jr.slee.IpServiceConnection, Call

public class CallImpl
extends java.lang.Object
implements Call


Constructor Summary
CallImpl(CallControlManager manager, org.csapi.cc.gccs.IpCall ipCall, int callSessionID, org.mobicents.csapi.jr.slee.cc.gccs.TpCallIdentifier tpCallIdenitifier, ActivityManager activityManager, GccsListener eventListener)
           
 
Method Summary
 void callEnded(int callSessionID, org.csapi.cc.gccs.TpCallEndedReport report)
           
 void callFaultDetected(int callSessionID, org.csapi.cc.gccs.TpCallFault fault)
           
 void closeConnection()
           
 void continueProcessing()
           
 void deassignCall()
           
 void dispose()
          Destroys or deallocates all resources used by this call.
 javax.slee.resource.ActivityHandle getActivityHandle()
           
 void getCallInfoErr(int callSessionID, org.csapi.cc.TpCallError errorIndication)
           
 void getCallInfoReq(int callInfoRequested)
           
 void getCallInfoRes(int callSessionID, org.csapi.cc.gccs.TpCallInfoReport callInfoReport)
           
 org.csapi.cc.gccs.IpCall getIpCall()
           
 void getMoreDialledDigitsErr(int callSessionID, org.csapi.cc.TpCallError errorIndication)
           
 void getMoreDialledDigitsReq(int length)
           
 void getMoreDialledDigitsRes(int callSessionID, java.lang.String digits)
           
 org.csapi.cc.gccs.TpCallIdentifier getParlayTpCallIdentifier()
           
 org.mobicents.csapi.jr.slee.cc.gccs.TpCallIdentifier getTpCallIdentifier()
           
 void init()
          Initialises the internal resources for this call.
 void release(org.csapi.cc.gccs.TpCallReleaseCause cause)
           
 void routeErr(int callSessionID, org.csapi.cc.TpCallError errorIndication, int callLegSessionID)
           
 int routeReq(org.csapi.cc.gccs.TpCallReportRequest[] responseRequested, org.csapi.TpAddress targetAddress, org.csapi.TpAddress originatingAddress, org.csapi.TpAddress originalDestinationAddress, org.csapi.TpAddress redirectingAddress, org.csapi.cc.gccs.TpCallAppInfo[] appInfo)
           
 void routeRes(int callSessionID, org.csapi.cc.gccs.TpCallReport eventReport, int callLegSessionID)
           
 void setAdviceOfCharge(org.csapi.TpAoCInfo aOCInfo, int tariffSwitch)
           
 void setCallChargePlan(org.csapi.cc.TpCallChargePlan callChargePlan)
           
 void superviseCallErr(int callSessionID, org.csapi.cc.TpCallError errorIndication)
           
 void superviseCallReq(int time, int treatment)
           
 void superviseCallRes(int callSessionID, int report, int usedTime)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallImpl

public CallImpl(CallControlManager manager,
                org.csapi.cc.gccs.IpCall ipCall,
                int callSessionID,
                org.mobicents.csapi.jr.slee.cc.gccs.TpCallIdentifier tpCallIdenitifier,
                ActivityManager activityManager,
                GccsListener eventListener)
Method Detail

init

public void init()
Description copied from interface: Call
Initialises the internal resources for this call.

Specified by:
init in interface Call

dispose

public void dispose()
Description copied from interface: Call
Destroys or deallocates all resources used by this call.

Specified by:
dispose in interface Call

routeRes

public void routeRes(int callSessionID,
                     org.csapi.cc.gccs.TpCallReport eventReport,
                     int callLegSessionID)
Specified by:
routeRes in interface org.csapi.cc.gccs.IpAppCallOperations

routeErr

public void routeErr(int callSessionID,
                     org.csapi.cc.TpCallError errorIndication,
                     int callLegSessionID)
Specified by:
routeErr in interface org.csapi.cc.gccs.IpAppCallOperations

getCallInfoRes

public void getCallInfoRes(int callSessionID,
                           org.csapi.cc.gccs.TpCallInfoReport callInfoReport)
Specified by:
getCallInfoRes in interface org.csapi.cc.gccs.IpAppCallOperations

getCallInfoErr

public void getCallInfoErr(int callSessionID,
                           org.csapi.cc.TpCallError errorIndication)
Specified by:
getCallInfoErr in interface org.csapi.cc.gccs.IpAppCallOperations

superviseCallRes

public void superviseCallRes(int callSessionID,
                             int report,
                             int usedTime)
Specified by:
superviseCallRes in interface org.csapi.cc.gccs.IpAppCallOperations

superviseCallErr

public void superviseCallErr(int callSessionID,
                             org.csapi.cc.TpCallError errorIndication)
Specified by:
superviseCallErr in interface org.csapi.cc.gccs.IpAppCallOperations

callFaultDetected

public void callFaultDetected(int callSessionID,
                              org.csapi.cc.gccs.TpCallFault fault)
Specified by:
callFaultDetected in interface org.csapi.cc.gccs.IpAppCallOperations

getMoreDialledDigitsRes

public void getMoreDialledDigitsRes(int callSessionID,
                                    java.lang.String digits)
Specified by:
getMoreDialledDigitsRes in interface org.csapi.cc.gccs.IpAppCallOperations

getMoreDialledDigitsErr

public void getMoreDialledDigitsErr(int callSessionID,
                                    org.csapi.cc.TpCallError errorIndication)
Specified by:
getMoreDialledDigitsErr in interface org.csapi.cc.gccs.IpAppCallOperations

callEnded

public void callEnded(int callSessionID,
                      org.csapi.cc.gccs.TpCallEndedReport report)
Specified by:
callEnded in interface org.csapi.cc.gccs.IpAppCallOperations

routeReq

public int routeReq(org.csapi.cc.gccs.TpCallReportRequest[] responseRequested,
                    org.csapi.TpAddress targetAddress,
                    org.csapi.TpAddress originatingAddress,
                    org.csapi.TpAddress originalDestinationAddress,
                    org.csapi.TpAddress redirectingAddress,
                    org.csapi.cc.gccs.TpCallAppInfo[] appInfo)
             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_CRITERIA,
                    org.csapi.P_INVALID_EVENT_TYPE,
                    javax.slee.resource.ResourceException
Specified by:
routeReq in interface org.mobicents.csapi.jr.slee.cc.gccs.IpCallConnection
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_CRITERIA
org.csapi.P_INVALID_EVENT_TYPE
javax.slee.resource.ResourceException

release

public void release(org.csapi.cc.gccs.TpCallReleaseCause 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.gccs.IpCallConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
javax.slee.resource.ResourceException

deassignCall

public void deassignCall()
                  throws org.csapi.TpCommonExceptions,
                         javax.slee.resource.ResourceException
Specified by:
deassignCall in interface org.mobicents.csapi.jr.slee.cc.gccs.IpCallConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

getCallInfoReq

public void getCallInfoReq(int callInfoRequested)
                    throws org.csapi.TpCommonExceptions,
                           javax.slee.resource.ResourceException
Specified by:
getCallInfoReq in interface org.mobicents.csapi.jr.slee.cc.gccs.IpCallConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

setCallChargePlan

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

setAdviceOfCharge

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

getMoreDialledDigitsReq

public void getMoreDialledDigitsReq(int length)
                             throws org.csapi.TpCommonExceptions,
                                    javax.slee.resource.ResourceException
Specified by:
getMoreDialledDigitsReq in interface org.mobicents.csapi.jr.slee.cc.gccs.IpCallConnection
Throws:
org.csapi.TpCommonExceptions
javax.slee.resource.ResourceException

superviseCallReq

public void superviseCallReq(int time,
                             int treatment)
                      throws org.csapi.TpCommonExceptions,
                             javax.slee.resource.ResourceException
Specified by:
superviseCallReq in interface org.mobicents.csapi.jr.slee.cc.gccs.IpCallConnection
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.gccs.IpCallConnection
Throws:
org.csapi.TpCommonExceptions
org.csapi.P_INVALID_NETWORK_STATE
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

getIpCall

public org.csapi.cc.gccs.IpCall getIpCall()

getTpCallIdentifier

public org.mobicents.csapi.jr.slee.cc.gccs.TpCallIdentifier getTpCallIdentifier()
Specified by:
getTpCallIdentifier in interface Call
Returns:

getActivityHandle

public javax.slee.resource.ActivityHandle getActivityHandle()
Specified by:
getActivityHandle in interface Call
Returns:

getParlayTpCallIdentifier

public org.csapi.cc.gccs.TpCallIdentifier getParlayTpCallIdentifier()
Specified by:
getParlayTpCallIdentifier in interface Call
Returns:


Copyright © 2008. All Rights Reserved.