public interface SipMessageProcessor
Modifier and Type | Method and Description |
---|---|
boolean |
processMessage(javax.sip.RequestEvent requestEvent)
Process the incoming message
|
boolean |
processResponse(javax.sip.ResponseEvent responseEvent,
java.util.Map<java.lang.String,Message> sentMessages)
Process the responses of sent messages
|
boolean |
processTimeout(javax.sip.TimeoutEvent timeoutEvent,
java.util.Map<java.lang.String,Message> sentMessages)
Processes a retransmit or expiration Timeout of an underlying
Transaction handled by this SipListener. |
boolean processMessage(javax.sip.RequestEvent requestEvent)
requestEvent
- the incoming event holding the messageboolean processResponse(javax.sip.ResponseEvent responseEvent, java.util.Map<java.lang.String,Message> sentMessages)
responseEvent
- the incoming event holding the responsesentMessages
- map containing sent messagesboolean processTimeout(javax.sip.TimeoutEvent timeoutEvent, java.util.Map<java.lang.String,Message> sentMessages)
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();
sentMessages
- map containing sent messagestimeoutEvent
- the timeoutEvent received indicating either the
message retransmit or transaction timed out.
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under Apache license.