public class ViewTransactionCommListener extends Object implements ITransactionProcessor
Constructor and Description |
---|
ViewTransactionCommListener(PanelEditor editor,
UIPanelBase panel)
Constructor for a Panel View.
|
ViewTransactionCommListener(PanelEditor editor,
UIPanelBase panel,
Worker worker,
String lang,
String theme)
Constructor for a Design Viewer.
|
ViewTransactionCommListener(PanelEditor editor,
UIPanelBase panel,
Worker worker,
String lang,
String theme,
boolean isDeviceCast)
Constructor for a Design Viewer.
|
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Dispose!
|
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,
Transaction trans)
Process incoming transaction that itself can consist of several sub-transactions.
|
public ViewTransactionCommListener(PanelEditor editor, UIPanelBase panel)
editor
- Potential panel editor instance, may be null.panel
- The panel to view.public ViewTransactionCommListener(PanelEditor editor, UIPanelBase panel, Worker worker, String lang, String theme)
editor
- Potential panel editor instance, may be null.panel
- The panel to view.worker
- The worker for the session, null if Panel View.public ViewTransactionCommListener(PanelEditor editor, UIPanelBase panel, Worker worker, String lang, String theme, boolean isDeviceCast)
editor
- Potential panel editor instance, may be null.panel
- The panel to view.worker
- The worker for the session, null if Panel View.lang
- The language, null for none.theme
- The theme, null for none.isDeviceCast
- Flag for "device cast mode".public void onConnection(SessionTransMgr manager)
onConnection
in interface ITransactionProcessor
public void processTransaction(SessionTransMgr manager, Transaction trans)
Management transaction are not present here, but GConstants.TRANS_NEXT_SERIAL
that should call manager.onNextSerialTransaction();
.
processTransaction
in interface ITransactionProcessor
trans
- The transaction to process.public void onPause(SessionTransMgr manager)
onPause
in interface ITransactionProcessor
public void onReconnected(SessionTransMgr manager)
onReconnected
in interface ITransactionProcessor
public void onDisposed(SessionTransMgr manager)
onDisposed
in interface ITransactionProcessor
public void dispose()
iizi® is a registered trademark of Mindus SARL. © Copyright Mindus SARL, 2020. All rights reserved.