public interface SipInterceptorActivity extends InterceptorActivity
This activity also provides access to the JAIN SIP factory objects, so the interceptor
extension component can create and modify addresses and headers, to be used in
the output request passed to continueProcessing(javax.sip.message.Request)
.
Modifier and Type | Method and Description |
---|---|
void |
continueProcessing(Request op)
Notify the SIS that evaluation of the current interceptor should be continued.
|
AddressFactory |
getAddressFactory()
Get the JAIN SIP
AddressFactory instance provided by the SIS. |
HeaderFactory |
getHeaderFactory()
Get the JAIN SIP
HeaderFactory instance provided by the SIS. |
MessageFactory |
getMessageFactory()
Get the JAIN SIP
MessageFactory instance provided by the SIS. |
continueProcessing, getEvent, getVariable, halt
void continueProcessing(Request op) throws IllegalStateException
op
- an optional updated message that the SIS should use to continue service
invocation. If this argument is null
, this method behaves in the same
way as InterceptorActivity.continueProcessing()
.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 interceptor extension component has taken too long to respond
to the request and a timeout has occurred in the SIS.AddressFactory getAddressFactory()
AddressFactory
instance provided by the SIS.AddressFactory
instance.HeaderFactory getHeaderFactory()
HeaderFactory
instance provided by the SIS.HeaderFactory
instance.MessageFactory getMessageFactory()
MessageFactory
instance provided by the SIS.MessageFactory
instance.