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

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

public class ViaHandlerImpl
extends java.lang.Object
implements TuFunction

Via header handler.

Author:
masaxmasa

Constructor Summary
ViaHandlerImpl(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.
 void setBindingResolver(BindingResolver bindingResolver)
          set BindingResolver.
 void setIsDetectLoop(boolean flag)
          set detect loop flag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViaHandlerImpl

public ViaHandlerImpl(StackManager stackManager)
Constructor

Method Detail

setBindingResolver

public void setBindingResolver(BindingResolver bindingResolver)
set BindingResolver.

Parameters:
bindingResolver -

setIsDetectLoop

public void setIsDetectLoop(boolean flag)
set detect loop flag.

Parameters:
flag -

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