Package com.iizix.comm
Interface ITransactionProcessor
- All Known Subinterfaces:
IClientTransactionProcessor,PanelEditorTransactionProcessor
- All Known Implementing Classes:
ClientTransactionProcessor,ViewTransactionCommListener,VSViewerTransactionCommListener,VSViewerTransactionProcessor
public interface ITransactionProcessor
Interface implemented by the party processing incoming transactions. This can be the generic transactions as well as wrapped transactions that are serial-numbered mixed with management transactions.
- Author:
- Christopher Mindus
Method Summary
Modifier and TypeMethodDescriptionvoidonConnection(SessionTransMgr manager) Called when a connection is established.voidonDisposed(SessionTransMgr manager) Called when a connection is disposed of.voidonPause(SessionTransMgr manager) Called when a connection is paused.voidonReconnected(SessionTransMgr manager) Called when a connection is reconnected.voidprocessTransaction(SessionTransMgr manager, ReadTransaction trans) Process incoming transaction that itself can consist of several sub-transactions.
Method Details
onConnection
Called when a connection is established.processTransaction
Process incoming transaction that itself can consist of several sub-transactions.Management transaction are not present here, but GConstants.TRANS_NEXT_SERIAL that should call
manager.onNextSerialTransaction();.- Parameters:
trans- The transaction to process.
onPause
Called when a connection is paused.onReconnected
Called when a connection is reconnected.onDisposed
Called when a connection is disposed of.