javax.servlet.sip
Class SipErrorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by javax.servlet.sip.SipErrorEvent
All Implemented Interfaces:
java.io.Serializable

public class SipErrorEvent
extends java.util.EventObject

Events of this type are sent to objects implementing the SipErrorListener interface when an error occurs which is related to the applications processing of a SIP transaction.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SipErrorEvent(SipServletRequest request, SipServletResponse response)
          Constructs a new SipErrorEvent.
 
Method Summary
 SipServletRequest getRequest()
          Returns the request object associated with this SipErrorEvent.
 SipServletResponse getResponse()
          Returns the response object associated with this SipErrorEvent.
 
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
 

Constructor Detail

SipErrorEvent

public SipErrorEvent(SipServletRequest request,
                     SipServletResponse response)
Constructs a new SipErrorEvent.

Parameters:
request - the request the error relates to
response - the response the error relates to
Method Detail

getRequest

public SipServletRequest getRequest()
Returns the request object associated with this SipErrorEvent.

Returns:
request object associated with this SipErrorEvent

getResponse

public SipServletResponse getResponse()
Returns the response object associated with this SipErrorEvent.

Returns:
response object associated with this SipErrorEvent