gov.nist.javax.sip.stack
Class SIPDialogErrorEvent

java.lang.Object
  extended by java.util.EventObject
      extended by gov.nist.javax.sip.stack.SIPDialogErrorEvent
All Implemented Interfaces:
Serializable

public class SIPDialogErrorEvent
extends EventObject

An event that indicates that a dialog has encountered an error.

Since:
2.0
Author:
jean deruelle
See Also:
Serialized Form

Field Summary
static int DIALOG_ACK_NOT_RECEIVED_TIMEOUT
          This event ID indicates that the transaction has timed out.
static int DIALOG_ACK_NOT_SENT_TIMEOUT
          This event ID indicates that there was an error sending a message using the underlying transport.
static int DIALOG_ERROR_INTERNAL_COULD_NOT_TAKE_ACK_SEM
           
static int DIALOG_REINVITE_TIMEOUT
          This event ID indicates a timeout occured waiting to send re-INVITE ( for B2BUA)
static int EARLY_STATE_TIMEOUT
           
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
SIPDialogErrorEvent(SIPDialog sourceDialog, DialogTimeoutEvent.Reason reason)
           
SIPDialogErrorEvent(SIPDialog sourceDialog, SIPClientTransaction clientTransaction, DialogTimeoutEvent.Reason reason)
           
 
Method Summary
 SIPClientTransaction getClientTransaction()
           
 int getErrorID()
          Returns the ID of the error.
 void setClientTransaction(SIPClientTransaction clientTransaction)
           
 
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
 

Field Detail

DIALOG_ACK_NOT_RECEIVED_TIMEOUT

public static final int DIALOG_ACK_NOT_RECEIVED_TIMEOUT
This event ID indicates that the transaction has timed out.

See Also:
Constant Field Values

DIALOG_ACK_NOT_SENT_TIMEOUT

public static final int DIALOG_ACK_NOT_SENT_TIMEOUT
This event ID indicates that there was an error sending a message using the underlying transport.

See Also:
Constant Field Values

DIALOG_REINVITE_TIMEOUT

public static final int DIALOG_REINVITE_TIMEOUT
This event ID indicates a timeout occured waiting to send re-INVITE ( for B2BUA)

See Also:
Constant Field Values

EARLY_STATE_TIMEOUT

public static final int EARLY_STATE_TIMEOUT
See Also:
Constant Field Values

DIALOG_ERROR_INTERNAL_COULD_NOT_TAKE_ACK_SEM

public static final int DIALOG_ERROR_INTERNAL_COULD_NOT_TAKE_ACK_SEM
See Also:
Constant Field Values
Constructor Detail

SIPDialogErrorEvent

public SIPDialogErrorEvent(SIPDialog sourceDialog,
                           DialogTimeoutEvent.Reason reason)

SIPDialogErrorEvent

public SIPDialogErrorEvent(SIPDialog sourceDialog,
                           SIPClientTransaction clientTransaction,
                           DialogTimeoutEvent.Reason reason)
Method Detail

getErrorID

public int getErrorID()
Returns the ID of the error.

Returns:
Error ID.

getClientTransaction

public SIPClientTransaction getClientTransaction()

setClientTransaction

public void setClientTransaction(SIPClientTransaction clientTransaction)


Copyright © 2012. All Rights Reserved.