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 TypeMethodDescriptionvoid
onConnection
(SessionTransMgr manager) Called when a connection is established.void
onDisposed
(SessionTransMgr manager) Called when a connection is disposed of.void
onPause
(SessionTransMgr manager) Called when a connection is paused.void
onReconnected
(SessionTransMgr manager) Called when a connection is reconnected.void
processTransaction
(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.