org.siprop.v2.stack.sip.tu.function
Interface TuFunction

All Known Implementing Classes:
CancelHandlerImpl, MaxForwardsHandlerImpl, TuFunctionComposer, ViaHandlerImpl

public interface TuFunction

Functions for TU.

Author:
noritsuna

Method Summary
 void addFunction(TuFunction function)
          Add TuFunction.
 Context doProcess(Context context, TransactionEntry trnsct)
          Execute TuFunction.
 void removeFunction(TuFunction function)
          Remove TuFunction.
 

Method Detail

doProcess

Context doProcess(Context context,
                  TransactionEntry trnsct)
Execute TuFunction.

Parameters:
context - the message will be processed
trnsct - type of transaction that related the message
Returns:
MessageContextImpl

addFunction

void addFunction(TuFunction function)
                 throws SIPropException
Add TuFunction.

Parameters:
function -
Throws:
SIPropException

removeFunction

void removeFunction(TuFunction function)
                    throws SIPropException
Remove TuFunction.

Parameters:
function -
Throws:
SIPropException