public class OnlineTxnList
extends java.lang.Object
| Constructor and Description |
|---|
OnlineTxnList(StreamTable info) |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(OnlineTxnListener listener) |
void |
addNewTxn(OnlineTxn txn) |
StreamTable |
getInfo()
Should only be called from the io.*Writer classes for
saving info in a file.
|
OnlineTxn |
getTxn(int i)
Get a service object for the service at the specified index.
|
int |
getTxnCount()
Get the number of online services that the user has
access to.
|
int |
indexOf(OnlineTxn txn)
returns true if the service information for this service is
already in the service list.
|
OnlineTxn |
newTxn()
Create a new OnlineTxn that is associated, but not yet a member of, this list.
|
OnlineTxn |
newTxnFromString(java.lang.String serializedTxn)
Create a new OnlineTxn that is associated, but not yet a member of, this list.
|
void |
removeListener(OnlineTxnListener listener) |
void |
removeTxn(int i)
Remove the txn object at the specified index.
|
boolean |
removeTxn(OnlineTxn txn)
Remove the given txn object from the list.
|
void |
sortTransactions() |
public OnlineTxnList(StreamTable info)
public StreamTable getInfo()
public int getTxnCount()
public OnlineTxn getTxn(int i)
public int indexOf(OnlineTxn txn)
public void removeTxn(int i)
public boolean removeTxn(OnlineTxn txn)
public OnlineTxn newTxn()
public OnlineTxn newTxnFromString(java.lang.String serializedTxn)
public void addNewTxn(OnlineTxn txn)
public void addListener(OnlineTxnListener listener)
public void removeListener(OnlineTxnListener listener)
public void sortTransactions()