com.bankframe.ei.txnhandler.storeandforward.impl.forwardtransaction
Class ForwardingThread

java.lang.Object
  |
  +--com.bankframe.ei.txnhandler.storeandforward.impl.forwardtransaction.ForwardingThread
All Implemented Interfaces:
java.lang.Runnable

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

This thread class monitors the connection to the host system. It is used with the store class to determine whether request in the store can be released to the host system. Every x seconds the thread will attempt to send a request to the host system. This will only happen if the store is non-empty.


Constructor Summary
ForwardingThread(java.lang.String name)
          Forwarding thread constructor.
ForwardingThread(java.lang.String name, int delay)
          Forwarding thread constructor.
ForwardingThread(java.lang.String name, java.util.SortedSet list)
          Forwarding thread constructor.
ForwardingThread(java.lang.String name, java.util.SortedSet list, int delay)
          Forwarding thread constructor.
 
Method Summary
 void run()
          This method forwards transactions from the store
 void start()
          This method starts the forwarding thread at the lowest priority
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForwardingThread

public ForwardingThread(java.lang.String name)
Forwarding thread constructor. This constructor reads the delay time from the BankFrameResource.properties file and is set to forward all transactions in the store


ForwardingThread

public ForwardingThread(java.lang.String name,
                        int delay)
Forwarding thread constructor. This constructor takes the delay time from passed parameter and is set to forward all transactions in the store


ForwardingThread

public ForwardingThread(java.lang.String name,
                        java.util.SortedSet list)
Forwarding thread constructor. This constructor takes the delay time from the BankFrameResource.properties file and is set to forward a subset of transactions in the store.


ForwardingThread

public ForwardingThread(java.lang.String name,
                        java.util.SortedSet list,
                        int delay)
Forwarding thread constructor. This constructor takes the delay time from passed parameter and is set to forward a subset of transactions in the store

Method Detail

run

public void run()
This method forwards transactions from the store

Specified by:
run in interface java.lang.Runnable

start

public void start()
This method starts the forwarding thread at the lowest priority



Copyright © 2005 Siebel Systems, Inc. All rights reserved.