Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package gov.nist.javax.sip;
 
Extension for ResponseEvent.

Since:
v2.0
public class ResponseEventExt extends ResponseEvent {
    public ResponseEventExt(Object sourceClientTransactionExt clientTransaction
            Dialog dialog,  Response response) {
        super(source,clientTransaction,dialog,response);
         = clientTransaction;
    }
    
    
Return true if this is a forked response.

Returns:
true if the response event is for a forked response.
    public boolean isForkedResponse() {
        return super.getClientTransaction() == null &&  != null;
    }
    
    
Set the original transaction for a forked response.

Parameters:
originalTransaction - the original transaction for which this response event is a fork.
    public void setOriginalTransaction(ClientTransactionExt originalTransaction ) {
         = originalTransaction;
    }
    
    
Get the original transaction for which this is a forked response. Note that this transaction can be in a TERMINATED state.

Returns:
the original clientTx for which this is a forked response.
        return this.;
    }
    
    
New to GrepCode? Check out our FAQ X