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 SummaryModifier and TypeMethodDescription- void- 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- onConnectionCalled when a connection is established.
- processTransactionProcess 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.
 
- onPauseCalled when a connection is paused.
- onReconnectedCalled when a connection is reconnected.
- onDisposedCalled when a connection is disposed of.