org.siprop.v2.stack.sip.tu.function
Class TuFunctionComposer

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

public class TuFunctionComposer
extends java.lang.Object
implements TuFunction

Composer for TuFunction.

Author:
noritsuna

Constructor Summary
TuFunctionComposer()
           
 
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

TuFunctionComposer

public TuFunctionComposer()
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