cdev
Class TransactionManager
java.lang.Object
|
+--cdev.TransactionManager
- public class TransactionManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
TransactionManager
public TransactionManager()
- Constructor.
add
public final void add(DeviceTransaction dt)
- add:
Add a transaction into the transaction table
elements
public final java.util.Enumeration elements()
- elements:
Return an enumeration of transactions
resumeIO
public void resumeIO(ControlSystem sys)
- Resume IO
findTransaction
public final DeviceTransaction findTransaction(int trnum)
- findTransaction:
Called to find a pending transaction based upon the
transaction number (used for bookkeeping).
process
public void process(cdev.Fifo fifo)
process
public void process(DeviceTransaction dt)
getActiveCnt
public final int getActiveCnt()
txToString
public java.lang.String txToString(java.lang.String title,
int index)
- Converts a transaction to a string. The index is the actual index into
the transaction table, not the number associated with the specific
transaction. The title is a user given title to be attached to the
beginning of the transaction string.
txTableToString
public java.lang.String txTableToString(java.lang.String title)
- Steps through the transaction table and convert each transaction to
a string. The Title is attached to the beginning of the string.