public interface MethodProcessor
ProtocolProviderServiceSipImpl
much like SipListener
but
with the addition of signaling whether the specified event was indeed handled
in the processor and needs no further processing in other processors
registered for the same method.Modifier and Type | Method and Description |
---|---|
boolean |
processDialogTerminated(javax.sip.DialogTerminatedEvent dialogTerminatedEvent)
Process an asynchronously reported DialogTerminatedEvent.
|
boolean |
processIOException(javax.sip.IOExceptionEvent exceptionEvent)
Process an asynchronously reported IO Exception.
|
boolean |
processRequest(javax.sip.RequestEvent requestEvent)
Processes a Request received on a
ProtocolProviderServiceSipImpl upon which this processor is
registered. |
boolean |
processResponse(javax.sip.ResponseEvent responseEvent)
Processes a Response received on a
ProtocolProviderServiceSipImpl upon which this processor is
registered. |
boolean |
processTimeout(javax.sip.TimeoutEvent timeoutEvent)
Processes a retransmit or expiration Timeout of an underlying
Transaction handled by this SipListener. |
boolean |
processTransactionTerminated(javax.sip.TransactionTerminatedEvent transactionTerminatedEvent)
Process an asynchronously reported TransactionTerminatedEvent.
|
boolean processDialogTerminated(javax.sip.DialogTerminatedEvent dialogTerminatedEvent)
dialogTerminatedEvent
- an event that indicates that the dialog has
transitioned into the terminated stateboolean processIOException(javax.sip.IOExceptionEvent exceptionEvent)
exceptionEvent
- the Exception event that is reported to the
applicationboolean processRequest(javax.sip.RequestEvent requestEvent)
ProtocolProviderServiceSipImpl
upon which this processor is
registered.requestEvent
- requestEvent fired from the
ProtocolProviderServiceSipImpl
to the processor
representing a Request received from the networkboolean processResponse(javax.sip.ResponseEvent responseEvent)
ProtocolProviderServiceSipImpl
upon which this processor is
registered.responseEvent
- the responseEvent fired from the
ProtocolProviderServiceSipImpl
to the processor
representing a Response received from the networkboolean processTimeout(javax.sip.TimeoutEvent timeoutEvent)
Transaction
handled by this SipListener. This Event notifies the
application that a retransmission or transaction Timer expired in the
SipProvider's transaction state machine. The TimeoutEvent encapsulates
the specific timeout type and the transaction identifier either client or
server upon which the timeout occurred. The type of Timeout can by
determined by:
timeoutType = timeoutEvent.getTimeout().getValue();
timeoutEvent
- the timeoutEvent received indicating either the
message retransmit or transaction timed outboolean processTransactionTerminated(javax.sip.TransactionTerminatedEvent transactionTerminatedEvent)
transactionTerminatedEvent
- an event that indicates that the
transaction has transitioned into the terminated state
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.