public class MethodProcessorAdapter extends java.lang.Object implements MethodProcessor
MethodProcessor
which does
no processing and exists only as a convenience to extenders so that they can
override the methods of interest.Constructor and Description |
---|
MethodProcessorAdapter() |
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.
|
public boolean processDialogTerminated(javax.sip.DialogTerminatedEvent dialogTerminatedEvent)
MethodProcessor
processDialogTerminated
in interface MethodProcessor
dialogTerminatedEvent
- an event that indicates that the dialog has
transitioned into the terminated statepublic boolean processIOException(javax.sip.IOExceptionEvent exceptionEvent)
MethodProcessor
processIOException
in interface MethodProcessor
exceptionEvent
- the Exception event that is reported to the
applicationpublic boolean processRequest(javax.sip.RequestEvent requestEvent)
MethodProcessor
ProtocolProviderServiceSipImpl
upon which this processor is
registered.processRequest
in interface MethodProcessor
requestEvent
- requestEvent fired from the
ProtocolProviderServiceSipImpl
to the processor
representing a Request received from the networkpublic boolean processResponse(javax.sip.ResponseEvent responseEvent)
MethodProcessor
ProtocolProviderServiceSipImpl
upon which this processor is
registered.processResponse
in interface MethodProcessor
responseEvent
- the responseEvent fired from the
ProtocolProviderServiceSipImpl
to the processor
representing a Response received from the networkpublic boolean processTimeout(javax.sip.TimeoutEvent timeoutEvent)
MethodProcessor
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();
processTimeout
in interface MethodProcessor
timeoutEvent
- the timeoutEvent received indicating either the
message retransmit or transaction timed outpublic boolean processTransactionTerminated(javax.sip.TransactionTerminatedEvent transactionTerminatedEvent)
MethodProcessor
processTransactionTerminated
in interface MethodProcessor
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.