Version

SipErrorEvent

The SipErrorEvent class represents error events related to a SIP transaction within an application. It extends java.util.EventObject and implements java.io.Serializable, making it suitable for use in distributed systems. These events are sent to objects implementing the SipErrorListener interface when an error occurs during the processing of a SIP transaction by the application. The SipErrorEvent provides the necessary context to identify and handle errors, enabling applications to implement error-handling mechanisms for SIP transactions.

Fields:

Fields inherited from class java.util.EventObject:
source.

Constructor:

SipErrorEvent
public SipErrorEvent(SipServletRequest request,
                     SipServletResponse response)

This constructor creates a new SipErrorEvent object, representing an error related to the specified SIP request and response. It is used to provide detailed context about the error for handling within the application.
Parameters:
request: The SipServletRequest object associated with the error.
response: The SipServletResponse object associated with the error.

Methods:

getRequest
public SipServletRequest getRequest()
Retrieves the SipServletRequest object associated with this SipErrorEvent. This provides details about the request that is linked to the error.
Returns:
The SipServletRequest object associated with this error event.

getResponse
public SipServletResponse getResponse()
Retrieves the SipServletResponse object associated with this SipErrorEvent. This provides details about the response that is linked to the error.
Returns:
The SipServletResponse object associated with this error event.

Methods inherited from class java.util.EventObject:
getSource, toString.

Methods inherited from class java.lang.Object:
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait.

Start innovating with Mobius

What's next? Let's talk!

Mobius Software

As a company you'll get:

  • Get started quickly

  • Support any business model

  • Join millions of businesses

Questions? websupport@mobius.com