public interface INInterceptorActivity extends InterceptorActivity
Downcall
event continues processing using
a method other than continueProcessing(Operation[], boolean)
, then Downcall.getDialogPrimitive()
is used to determine whether or not the dialog remains open or is closed.Modifier and Type | Method and Description |
---|---|
void |
continueProcessing(Operation op)
Notify the SIS that evaluation of the current interceptor should be continued.
|
void |
continueProcessing(Operation[] ops)
Notify the SIS that evaluation of the current interceptor should be continued.
|
void |
continueProcessing(Operation[] ops,
boolean closeDialog)
Deprecated.
use
continueProcessing(Operation[], DialogPrimitive) instead for greater
flexibility. |
void |
continueProcessing(Operation[] ops,
DialogPrimitive primitive)
Notify the SIS that evaluation of the current output interceptor should be continued.
|
TcapApplicationContext |
getApplicationContext()
Get the application context that the underlying network dialog was created with.
|
String |
getDialogID()
Get the unique dialog identifier for the underlying network dialog.
|
CGINProvider |
getProvider()
Get the provider that created the network dialog.
|
continueProcessing, getEvent, getVariable, halt
void continueProcessing(Operation op) throws IllegalStateException, IllegalArgumentException
op
- an optional updated message that the SIS should use to continue service invocation.
null
, this method is equivalent to
InterceptorActivity.continueProcessing()
.
null
, this method is equivalent to
continueProcessing(new Operation[] { op })
.
IllegalStateException
- if the interceptor extension component has already returned
a response to the SIS for the most recent event fired on this activity. This exception
may also be thrown if the extension component has taken too long to respond to the
request and a timeout has occurred in the SIS.IllegalArgumentException
- if op
is not an acceptable operation to
continue processing with. For example, if the interceptor extension component was
invoked for an InitialDP request then only an InitialDP request can be returned.void continueProcessing(Operation[] ops) throws IllegalStateException, IllegalArgumentException
CCInitialDPRequestEvent
.
In this case ops
may be either null
or an array of length 1
containing
an operation of the same type:
null
, this method behaves the same as continueProcessing()
.
null
, the operation passed to this method replaces the operation
that was provided to the interceptor extension component in the call flow.
CCConnectRequestEvent
.
In this case ops
may have any value:
null
, the operation(s) that were provided to the interceptor extension
component for analysis are removed from the call flow.
null
, the operations passed to this method replace those that
that were provided to the interceptor extension component in the call flow.
continueProcessing(null)
and
continueProcessing(new Operation[0])
are equivalent.
ops
- updated messages that the SIS should use to continue call processing.IllegalStateException
- if the interceptor extension component has already returned
a response to the SIS for the most recent event fired on this activity. This exception
may also be thrown if the extension component has taken too long to respond to the
request and a timeout has occurred in the SIS.IllegalArgumentException
- if the interceptor extension component was invoked from
within an input interceptor and ops
is not an acceptable operation to continue
processing with. For example, if the interceptor extension component was invoked for
an InitialDP request then only an array containing an InitialDP request can be returned.@Deprecated void continueProcessing(Operation[] ops, boolean closeDialog) throws IllegalStateException
continueProcessing(Operation[], DialogPrimitive)
instead for greater
flexibility.
This method can only be used by an interceptor extension component invoked from within
an output interceptor that is responding to a Downcall
event.
ops
- updated messages that the SIS should use to continue call processing. See
continueProcessing(Operation[])
for a description of what different
argument values mean.closeDialog
- boolean flag indicating if the operations should be followed with a
close (TC_END) with basic end (true
) or delimiter (TC_CONTINUE)
(false
).IllegalStateException
- if the interceptor extension component is not responding to a
Downcall
event previously fired to it on this activity, or if the interceptor
extension component has already returned a response to the SIS for the most recent
Downcall
event fired to it. This exception may also be thrown if the interceptor
extension component has taken too long to respond to the event and a timeout has occurred
in the SIS.void continueProcessing(Operation[] ops, DialogPrimitive primitive) throws IllegalStateException
This method can only be used by an interceptor extension component invoked from within
an output interceptor that is responding to a Downcall
event.
ops
- updated messages that the SIS should use to continue call processing. See
continueProcessing(Operation[])
for a description of what different
argument values mean.primitive
- updated dialog primitive that the SIS should use to continue call processing.IllegalStateException
- if the interceptor extension component is not responding to a
Downcall
event previously fired to it on this activity, or if the interceptor
extension component has already returned a response to the SIS for the most recent
Downcall
event fired to it. This exception may also be thrown if the interceptor
extension component has taken too long to respond to the event and a timeout has occurred
in the SIS.TcapApplicationContext getApplicationContext()
String getDialogID()
CGINProvider getProvider()