MamdaOrderImbalanceHandler is an interface for applications that want to have an easy way to handle order imbalance updates.
More...
#include <MamdaOrderImbalanceHandler.h>
|
| virtual void | onOrderImbalance (MamdaSubscription *subscription, MamdaOrderImbalanceListener &listener, const MamaMsg &msg, MamdaOrderImbalanceRecap &imbalance, MamdaOrderImbalanceUpdate &update)=0 |
| | Method invoked when a order imbalance is reported. More...
|
| |
| virtual void | onNoOrderImbalance (MamdaSubscription *subscription, MamdaOrderImbalanceListener &listener, const MamaMsg &msg, MamdaOrderImbalanceRecap &imbalance, MamdaOrderImbalanceUpdate &update)=0 |
| | Method invoked when a no order imbalance is reported. More...
|
| |
| virtual void | onOrderImbalanceRecap (MamdaSubscription *subscription, MamdaOrderImbalanceListener &listener, const MamaMsg &msg, MamdaOrderImbalanceRecap &imbalance)=0 |
| | Method invoked when the current order imbalance information is available. More...
|
| |
| virtual | ~MamdaOrderImbalanceHandler () |
| |
MamdaOrderImbalanceHandler is an interface for applications that want to have an easy way to handle order imbalance updates.
The interface defines callback methods for different types of order-imbalance events:
| virtual Wombat::MamdaOrderImbalanceHandler::~MamdaOrderImbalanceHandler |
( |
| ) |
|
|
virtual |
Method invoked when a order imbalance is reported.
- Parameters
-
| subscription | The subscription which received this update. |
| listener | The listener which invoked this callback. |
| msg | The MamaMsg that triggered this invocation. |
| imbalance | Provides access to imbalance details |
| update | Provides access to update details |
Method invoked when a no order imbalance is reported.
- Parameters
-
| subscription | The subscription which received this update. |
| listener | The listener which invoked this callback. |
| msg | The MamaMsg that triggered this invocation. |
| imbalance | Provides access to imbalance details |
| update | Provides access to update details |
Method invoked when the current order imbalance information is available.
The reason for the invocation may be any of the following:
- Initial image.
- Recap update (e.g., after server fault tolerant event or data quality event.)
- After stale status removed.
- Parameters
-
| subscription | The subscription which received this update |
| listener | The listener which invoked this callback |
| msg | The MamaMsg that triggered this invocation |
| imbalance | Provides access to imbalance details |
The documentation for this class was generated from the following file: