org.siprop.v2.stack.sip.tu.function.impl
Class CancelHandlerImpl

java.lang.Object
  extended by org.siprop.v2.stack.sip.tu.function.impl.CancelHandlerImpl
All Implemented Interfaces:
TuFunction

public class CancelHandlerImpl
extends java.lang.Object
implements TuFunction

CANCEL request message handler.

Author:
masaxmasa

Constructor Summary
CancelHandlerImpl(StackManager stackManager)
          Constructor.
 
Method Summary
 void addFunction(TuFunction function)
          Add TuFunction.
 Context doProcess(Context context, TransactionEntry trnsct)
          Execute TuFunction.
 void removeFunction(TuFunction function)
          Remove TuFunction.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CancelHandlerImpl

public CancelHandlerImpl(StackManager stackManager)
Constructor.

Parameters:
stackManager -
Method Detail

doProcess

public Context doProcess(Context context,
                         TransactionEntry trnsct)
Description copied from interface: TuFunction
Execute TuFunction.

Specified by:
doProcess in interface TuFunction
Parameters:
context - the message will be processed
trnsct - type of transaction that related the message
Returns:
MessageContextImpl

addFunction

public void addFunction(TuFunction function)
                 throws SIPropException
Description copied from interface: TuFunction
Add TuFunction.

Specified by:
addFunction in interface TuFunction
Throws:
SIPropException

removeFunction

public void removeFunction(TuFunction function)
                    throws SIPropException
Description copied from interface: TuFunction
Remove TuFunction.

Specified by:
removeFunction in interface TuFunction
Throws:
SIPropException