![]() |
B2BITS FIX Antenna C++ 2.34.0
|
Instrument listener. Receives instrument related events. More...
#include <B2BITS_CqgInstrumentListener.h>
Inheritance diagram for Cqg::InstrumentListener:
Collaboration diagram for Cqg::InstrumentListener:Public Member Functions | |
| virtual void | onError (ASecurityDescription secDesc, ASecurityID secID, Engine::AsciiString const &error)=0 |
| Faired on error (example: when second subscribing was attempt for the same instrument) | |
| virtual bool | onIncrement (ASecurityDescription secDesc, ASecurityID secID, Engine::FIXMessage const *const *msgs, size_t incrementsCount)=0 |
| Faired when update for instrument is available. | |
| virtual bool | onNaturalRefresh (ASecurityDescription secDesc, ASecurityID secID, Engine::FIXMessage const *const *nrMsgs, size_t incrementsCount, bool isNewSequence) |
| Faired when user should reset book with the new values and Natural Refresh is used. | |
| virtual void | onRecoveryStarted (ASecurityDescription secDesc, ASecurityID secID, RecoveryReason reason)=0 |
| Faired when recovery is started. | |
| virtual void | onRecoveryStopped (ASecurityDescription secDesc, ASecurityID secID, RecoveryReason reason)=0 |
| Faired when recovery is ended. | |
| virtual void | onReset (ASecurityDescription secDesc, ASecurityID secID)=0 |
| Raised to reset instrument date to initial state. | |
| virtual void | onSnapshot (ASecurityDescription secDesc, ASecurityID secID, Engine::FIXMessage const &wMsg)=0 |
| Raised when Snapshot Full refresh message is received. | |
| virtual void | onSubscribed (ASecurityDescription secDesc, ASecurityID secID) |
| Raised when subscription to instrument is accepted by library. | |
| virtual void | onUnsubscribed (ASecurityDescription secDesc, ASecurityID secID) |
| Raised when unsubscription to instrument is accepted by library. | |
| virtual void | process (ASecurityDescription secDesc, ASecurityID secID, Engine::FIXMessage const &msg)=0 |
| Faired when information regard to instrument received. | |
| virtual | ~InstrumentListener () |
Public Member Functions inherited from Utils::ReferenceCounter | |
| virtual bool | addRef () const throw () |
| Increments reference counter. | |
| virtual long | getNRef () const throw () |
| Returns the current value of the reference counter. | |
| ReferenceCounter () throw () | |
| Constructor. | |
| virtual long | release () const throw () |
| Decrements reference counter. | |
Additional Inherited Members | |
Protected Member Functions inherited from Utils::ReferenceCounter | |
| long | decrement () const throw () |
| Decrements counter and returns new counter value. | |
| long | increment () const throw () |
| Increments counter and returns new counter value. | |
| virtual | ~ReferenceCounter () |
| Destructor. | |
Instrument listener. Receives instrument related events.
|
inlinevirtual |
|
pure virtual |
Faired on error (example: when second subscribing was attempt for the same instrument)
| secDesc | Security Description of the instrument |
| secID | Security ID of the instrument |
| error | text message which describes the error |
|
pure virtual |
Faired when update for instrument is available.
| secDesc | Security Description of the instrument |
| secID | Security ID of the instrument |
| msgs | Increment container with group entry inside Market Data - Incremental Refresh message assigned to instrument. |
| incrementsCount | Increments count into Msgs |
|
inlinevirtual |
Faired when user should reset book with the new values and Natural Refresh is used.
| secDesc | Security Description of the instrument |
| secID | Security ID of the instrument |
| nrMsgs | Increment container with group entry inside Market Data - Incremental Refresh message assigned to instrument. |
| incrementsCount | Increments count into NRMsgs |
| isNewSequence | If is true that NRMsgs contains new sequence of increments, otherwise NRMsgs contains continuation of previosly received increments sequence. |
|
pure virtual |
Faired when recovery is started.
| secDesc | Security Description of the instrument |
| secID | Security ID of the instrument |
|
pure virtual |
Faired when recovery is ended.
| secDesc | Security Description of the instrument |
| secID | Security ID of the instrument |
|
pure virtual |
Raised to reset instrument date to initial state.
|
pure virtual |
Raised when Snapshot Full refresh message is received.
|
inlinevirtual |
Raised when subscription to instrument is accepted by library.
|
inlinevirtual |
Raised when unsubscription to instrument is accepted by library.
|
pure virtual |
Faired when information regard to instrument received.