Interface CCDialog
-
- All Superinterfaces:
Dialog
- All Known Subinterfaces:
CAP1Dialog,CAP2Dialog,CAP3Dialog,CAP4Dialog,CS1Dialog
public interface CCDialog extends Dialog
Protocol-specific extension interface for callcontrol dialogs. Contains typesafe convenience methods for sending operation invokes, results, and errors.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.opencloud.slee.resources.cgin.Dialog
Dialog.State
-
-
Field Summary
-
Fields inherited from interface com.opencloud.slee.resources.cgin.Dialog
INVOKE_ID_UNSPECIFIED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intsendActivityTest(long timeout)Issues an activityTest operation request on the dialog.voidsendActivityTestResponse(int invokeId)Issues a (last) response to an activityTest operation on the dialog.voidsendActivityTestResponse(int invokeId, boolean isLast)Issues a response to an activityTest operation on the dialog.intsendApplyCharging(CCApplyChargingArg argument)Issues an applyCharging operation request on the dialog.intsendApplyChargingReport(CCApplyChargingReportArg argument)Issues an applyChargingReport operation request on the dialog.intsendAssistRequestInstructions(CCAssistRequestInstructionsArg argument)Issues an assistRequestInstructions operation request on the dialog.intsendCallGap(CCCallGapArg argument)Issues a callGap operation request on the dialog.intsendCallInformationReport(CCCallInformationReportArg argument)Issues a callInformationReport operation request on the dialog.intsendCallInformationRequest(CCCallInformationRequestArg argument)Issues a callInformationRequest operation request on the dialog.intsendCancel(CCCancelArg argument)Issues a cancel operation request on the dialog.voidsendCancelFailedError(int invokeId, CCCancelFailedArg error)Issues a cancelFailed error response for an operation on the dialog.voidsendCancelledError(int invokeId)Issues a cancelled error response for an operation on the dialog.intsendConnect(CCConnectArg argument)Issues a connect operation request on the dialog.intsendConnectToResource(CCConnectToResourceArg argument)Issues a connectToResource operation request on the dialog.intsendContinue()Issues a continue operation request on the dialog.intsendDisconnectForwardConnection()Issues a disconnectForwardConnection operation request on the dialog.intsendEstablishTemporaryConnection(CCEstablishTemporaryConnectionArg argument)Issues an establishTemporaryConnection operation request on the dialog.voidsendETCFailedError(int invokeId)Issues an eTCFailed error response for an operation on the dialog.intsendEventReportBCSM(CCEventReportBCSMArg argument)Issues an eventReportBCSM operation request on the dialog.intsendFurnishChargingInformation(CCFurnishChargingInformationArg argument)Issues a furnishChargingInformation operation request on the dialog.voidsendImproperCallerResponseError(int invokeId)Issues an improperCallerResponse error response for an operation on the dialog.intsendInitialDP(CCInitialDPArg argument)Issues an initialDP operation request on the dialog.voidsendMissingCustomerRecordError(int invokeId)Issues a missingCustomerRecord error response for an operation on the dialog.voidsendMissingParameterError(int invokeId)Issues a missingParameter error response for an operation on the dialog.voidsendParameterOutOfRangeError(int invokeId)Issues a parameterOutOfRange error response for an operation on the dialog.intsendPlayAnnouncement(long timeout, CCPlayAnnouncementArg argument)Issues a playAnnouncement operation request on the dialog.intsendPromptAndCollectUserInformation(long timeout, CCPromptAndCollectUserInformationArg argument)Issues a promptAndCollectUserInformation operation request on the dialog.voidsendPromptAndCollectUserInformationResponse(int invokeId, CCReceivedInformationArg result)Issues a (last) response to a promptAndCollectUserInformation operation on the dialog.voidsendPromptAndCollectUserInformationResponse(int invokeId, CCReceivedInformationArg result, boolean isLast)Issues a response to a promptAndCollectUserInformation operation on the dialog.intsendReleaseCall(CCReleaseCallArg argument)Issues a releaseCall operation request on the dialog.voidsendRequestedInfoErrorError(int invokeId, CCRequestedInfoErrorArg error)Issues a requestedInfoError error response for an operation on the dialog.intsendRequestReportBCSMEvent(CCRequestReportBCSMEventArg argument)Issues a requestReportBCSMEvent operation request on the dialog.intsendResetTimer(CCResetTimerArg argument)Issues a resetTimer operation request on the dialog.intsendSendChargingInformation(CCSendChargingInformationArg argument)Issues a sendChargingInformation operation request on the dialog.intsendSpecializedResourceReport(int linkedId, CCSpecializedResourceReportArg argument)Issues a specializedResourceReport operation request on the dialog.voidsendSystemFailureError(int invokeId, CCUnavailableNetworkResource error)Issues a systemFailure error response for an operation on the dialog.voidsendTaskRefusedError(int invokeId, CCTaskRefusedArg error)Issues a taskRefused error response for an operation on the dialog.voidsendUnavailableResourceError(int invokeId)Issues an unavailableResource error response for an operation on the dialog.voidsendUnexpectedComponentSequenceError(int invokeId)Issues an unexpectedComponentSequence error response for an operation on the dialog.voidsendUnexpectedDataValueError(int invokeId)Issues an unexpectedDataValue error response for an operation on the dialog.voidsendUnexpectedParameterError(int invokeId)Issues an unexpectedParameter error response for an operation on the dialog.voidsendUnknownLegIDError(int invokeId)Issues an unknownLegID error response for an operation on the dialog.-
Methods inherited from interface com.opencloud.slee.resources.cgin.Dialog
acceptDialog, acceptDialog, equals, getApplicationContext, getApplicationContextName, getDialogID, getDialogState, getLocalTransactionID, getMTPPriority, getProvider, getRemoteTransactionID, getSCCPClass, getSCCPReturnOption, getTcapVersion, hashCode, isGeneratingComponentEvents, isGeneratingMessageEvents, isStateless, isUnidirectionalInbound, isWithPermission, refuseDialog, refuseDialog, refuseDialog, sendClose, sendDelimiter, sendDelimiter, sendError, sendInvoke, sendResult, sendUserAbort, sendUserAbortWithUserAbortInformation, setActivityTimeout, setMTPPriority, setRemoteAddress, setSCCPClass, setSCCPReturnOption, setTcapVersion, toString, useComponentEvents, useMessageEvents
-
-
-
-
Method Detail
-
sendActivityTest
int sendActivityTest(long timeout) throws TooManyInvokesException, ProtocolExceptionIssues an activityTest operation request on the dialog.- Parameters:
timeout- invoke timeout, in milliseconds; 0 uses the RA default- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendActivityTestResponse
void sendActivityTestResponse(int invokeId) throws ProtocolExceptionIssues a (last) response to an activityTest operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the response for some reason
-
sendActivityTestResponse
void sendActivityTestResponse(int invokeId, boolean isLast) throws ProtocolExceptionIssues a response to an activityTest operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationisLast- if true, will be sent in a ResultLast, if false will be sent in a ResultNotLast- Throws:
ProtocolException- if the RA was unable to send the response for some reason
-
sendApplyCharging
int sendApplyCharging(CCApplyChargingArg argument) throws TooManyInvokesException, ProtocolException
Issues an applyCharging operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendApplyChargingReport
int sendApplyChargingReport(CCApplyChargingReportArg argument) throws TooManyInvokesException, ProtocolException
Issues an applyChargingReport operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendAssistRequestInstructions
int sendAssistRequestInstructions(CCAssistRequestInstructionsArg argument) throws TooManyInvokesException, ProtocolException
Issues an assistRequestInstructions operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendCallGap
int sendCallGap(CCCallGapArg argument) throws TooManyInvokesException, ProtocolException
Issues a callGap operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendCallInformationReport
int sendCallInformationReport(CCCallInformationReportArg argument) throws TooManyInvokesException, ProtocolException
Issues a callInformationReport operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendCallInformationRequest
int sendCallInformationRequest(CCCallInformationRequestArg argument) throws TooManyInvokesException, ProtocolException
Issues a callInformationRequest operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendCancel
int sendCancel(CCCancelArg argument) throws TooManyInvokesException, ProtocolException
Issues a cancel operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendCancelFailedError
void sendCancelFailedError(int invokeId, CCCancelFailedArg error) throws ProtocolExceptionIssues a cancelFailed error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationerror- parameter value- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendCancelledError
void sendCancelledError(int invokeId) throws ProtocolExceptionIssues a cancelled error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendConnect
int sendConnect(CCConnectArg argument) throws TooManyInvokesException, ProtocolException
Issues a connect operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendConnectToResource
int sendConnectToResource(CCConnectToResourceArg argument) throws TooManyInvokesException, ProtocolException
Issues a connectToResource operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendContinue
int sendContinue() throws TooManyInvokesException, ProtocolExceptionIssues a continue operation request on the dialog.- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendDisconnectForwardConnection
int sendDisconnectForwardConnection() throws TooManyInvokesException, ProtocolExceptionIssues a disconnectForwardConnection operation request on the dialog.- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendETCFailedError
void sendETCFailedError(int invokeId) throws ProtocolExceptionIssues an eTCFailed error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendEstablishTemporaryConnection
int sendEstablishTemporaryConnection(CCEstablishTemporaryConnectionArg argument) throws TooManyInvokesException, ProtocolException
Issues an establishTemporaryConnection operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendEventReportBCSM
int sendEventReportBCSM(CCEventReportBCSMArg argument) throws TooManyInvokesException, ProtocolException
Issues an eventReportBCSM operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendFurnishChargingInformation
int sendFurnishChargingInformation(CCFurnishChargingInformationArg argument) throws TooManyInvokesException, ProtocolException
Issues a furnishChargingInformation operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendImproperCallerResponseError
void sendImproperCallerResponseError(int invokeId) throws ProtocolExceptionIssues an improperCallerResponse error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendInitialDP
int sendInitialDP(CCInitialDPArg argument) throws TooManyInvokesException, ProtocolException
Issues an initialDP operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendMissingCustomerRecordError
void sendMissingCustomerRecordError(int invokeId) throws ProtocolExceptionIssues a missingCustomerRecord error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendMissingParameterError
void sendMissingParameterError(int invokeId) throws ProtocolExceptionIssues a missingParameter error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendParameterOutOfRangeError
void sendParameterOutOfRangeError(int invokeId) throws ProtocolExceptionIssues a parameterOutOfRange error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendPlayAnnouncement
int sendPlayAnnouncement(long timeout, CCPlayAnnouncementArg argument) throws TooManyInvokesException, ProtocolExceptionIssues a playAnnouncement operation request on the dialog.- Parameters:
timeout- invoke timeout, in milliseconds; 0 uses the RA defaultargument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendPromptAndCollectUserInformation
int sendPromptAndCollectUserInformation(long timeout, CCPromptAndCollectUserInformationArg argument) throws TooManyInvokesException, ProtocolExceptionIssues a promptAndCollectUserInformation operation request on the dialog.- Parameters:
timeout- invoke timeout, in milliseconds; 0 uses the RA defaultargument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendPromptAndCollectUserInformationResponse
void sendPromptAndCollectUserInformationResponse(int invokeId, CCReceivedInformationArg result) throws ProtocolExceptionIssues a (last) response to a promptAndCollectUserInformation operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationresult- result value- Throws:
ProtocolException- if the RA was unable to send the response for some reason
-
sendPromptAndCollectUserInformationResponse
void sendPromptAndCollectUserInformationResponse(int invokeId, CCReceivedInformationArg result, boolean isLast) throws ProtocolExceptionIssues a response to a promptAndCollectUserInformation operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationresult- result valueisLast- if true, will be sent in a ResultLast, if false will be sent in a ResultNotLast- Throws:
ProtocolException- if the RA was unable to send the response for some reason
-
sendReleaseCall
int sendReleaseCall(CCReleaseCallArg argument) throws TooManyInvokesException, ProtocolException
Issues a releaseCall operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendRequestReportBCSMEvent
int sendRequestReportBCSMEvent(CCRequestReportBCSMEventArg argument) throws TooManyInvokesException, ProtocolException
Issues a requestReportBCSMEvent operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendRequestedInfoErrorError
void sendRequestedInfoErrorError(int invokeId, CCRequestedInfoErrorArg error) throws ProtocolExceptionIssues a requestedInfoError error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationerror- parameter value- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendResetTimer
int sendResetTimer(CCResetTimerArg argument) throws TooManyInvokesException, ProtocolException
Issues a resetTimer operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendSendChargingInformation
int sendSendChargingInformation(CCSendChargingInformationArg argument) throws TooManyInvokesException, ProtocolException
Issues a sendChargingInformation operation request on the dialog.- Parameters:
argument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendSpecializedResourceReport
int sendSpecializedResourceReport(int linkedId, CCSpecializedResourceReportArg argument) throws TooManyInvokesException, ProtocolExceptionIssues a specializedResourceReport operation request on the dialog.- Parameters:
linkedId- linked invoke idargument- argument value- Returns:
- TCAP invoke ID allocated for this operation
- Throws:
TooManyInvokesException- if no free invoke id is available on this dialogProtocolException- if the RA was unable to send the invoke for some reason
-
sendSystemFailureError
void sendSystemFailureError(int invokeId, CCUnavailableNetworkResource error) throws ProtocolExceptionIssues a systemFailure error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationerror- parameter value- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendTaskRefusedError
void sendTaskRefusedError(int invokeId, CCTaskRefusedArg error) throws ProtocolExceptionIssues a taskRefused error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operationerror- parameter value- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendUnavailableResourceError
void sendUnavailableResourceError(int invokeId) throws ProtocolExceptionIssues an unavailableResource error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendUnexpectedComponentSequenceError
void sendUnexpectedComponentSequenceError(int invokeId) throws ProtocolExceptionIssues an unexpectedComponentSequence error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendUnexpectedDataValueError
void sendUnexpectedDataValueError(int invokeId) throws ProtocolExceptionIssues an unexpectedDataValue error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendUnexpectedParameterError
void sendUnexpectedParameterError(int invokeId) throws ProtocolExceptionIssues an unexpectedParameter error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
sendUnknownLegIDError
void sendUnknownLegIDError(int invokeId) throws ProtocolExceptionIssues an unknownLegID error response for an operation on the dialog.- Parameters:
invokeId- TCAP invoke ID for the operation- Throws:
ProtocolException- if the RA was unable to send the error response for some reason
-
-