Interface SipInterceptorActivity
-
- All Superinterfaces:
InterceptorActivity
public interface SipInterceptorActivity extends InterceptorActivity
The SIP Interceptor Activity is the activity type on which SIS SIP variants fire events to interceptor extension components.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)
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
continueProcessing(Request op)
Notify the SIS that evaluation of the current interceptor should be continued.AddressFactory
getAddressFactory()
Get the JAIN SIPAddressFactory
instance provided by the SIS.HeaderFactory
getHeaderFactory()
Get the JAIN SIPHeaderFactory
instance provided by the SIS.MessageFactory
getMessageFactory()
Get the JAIN SIPMessageFactory
instance provided by the SIS.-
Methods inherited from interface com.opencloud.slee.resources.sis.script.interceptors.InterceptorActivity
continueProcessing, getEvent, getVariable, halt
-
-
-
-
Method Detail
-
continueProcessing
void continueProcessing(Request op) throws IllegalStateException
Notify the SIS that evaluation of the current interceptor should be continued. The current service input or output message is replaced with the specified request.- Parameters:
op
- an optional updated message that the SIS should use to continue service invocation. If this argument isnull
, this method behaves in the same way asInterceptorActivity.continueProcessing()
.- Throws:
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.
-
getAddressFactory
AddressFactory getAddressFactory()
Get the JAIN SIPAddressFactory
instance provided by the SIS.- Returns:
- an
AddressFactory
instance.
-
getHeaderFactory
HeaderFactory getHeaderFactory()
Get the JAIN SIPHeaderFactory
instance provided by the SIS.- Returns:
- a
HeaderFactory
instance.
-
getMessageFactory
MessageFactory getMessageFactory()
Get the JAIN SIPMessageFactory
instance provided by the SIS.- Returns:
- a
MessageFactory
instance.
-
-