FileDocCategorySizeDatePackage
SIPTransactionErrorEvent.javaAPI DocphoneME MR2 API (J2ME)2436Wed May 02 18:00:42 BST 2007gov.nist.siplite.stack

SIPTransactionErrorEvent

public class SIPTransactionErrorEvent extends Object
An event that indicates that a transaction has encountered an error.

Fields Summary
protected Transaction
sourceTransaction
The originating transaction.
public static final int
TIMEOUT_ERROR
This event ID indicates that the transaction has timed out.
public static final int
TRANSPORT_ERROR
This event ID indicates that there was an error sending a message using the underlying transport.
private int
errorID
ID of this error event.
Constructors Summary
SIPTransactionErrorEvent(Transaction sourceTransaction, int transactionErrorID)
Creates a transaction error event.

param
sourceTransaction Transaction which is raising the error.
param
transactionErrorID ID of the error that has ocurred.

    
                               
     
              
        
        this.sourceTransaction = sourceTransaction;
        errorID = transactionErrorID;
    
Methods Summary
public intgetErrorID()
Returns the ID of the error.

return
Error ID.

        return errorID;
    
public TransactiongetSource()
Gets the error source.

return
the source of the error.

        return this.sourceTransaction;