org.siprop.v2.stack.sip.tu
Class TransactionGarbageCollector

java.lang.Object
  extended by org.siprop.v2.stack.sip.tu.TransactionGarbageCollector
All Implemented Interfaces:
java.lang.Runnable

public class TransactionGarbageCollector
extends java.lang.Object
implements java.lang.Runnable

This class check entire transactions. If the transaction has "delete" statement, remove it.

Author:
masaxmasa

Constructor Summary
TransactionGarbageCollector(TransactionUser tu)
          Constructor.
 
Method Summary
 void run()
          Poll the list of transactions.
 void stop()
          Stop polling process
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransactionGarbageCollector

public TransactionGarbageCollector(TransactionUser tu)
Constructor. Register instance of TUManager to notice remove event.

Parameters:
tu - nofify point of remove events.
Method Detail

run

public void run()
Poll the list of transactions. If transaction that has "delete" state, notify it to TU.

Specified by:
run in interface java.lang.Runnable

stop

public void stop()
Stop polling process