EPAM B2BITS C++ Bovespa MarketData handler
1.27.1
|
Receives instrument related events. More...
#include <B2BITS_BovespaApplicationListeners.h>
Public Member Functions | |
virtual void | onSubscribed (BovespaSubscriptionItem const &subsItem)=0 |
virtual void | onUnsubscribed (BovespaSubscriptionItem const &subsItem)=0 |
virtual void | process (BovespaSubscriptionItem const &subsItem, B2bits::MD::FIXMessage const *msg)=0 |
virtual bool | onIncrement (BovespaSubscriptionItem const &subsItem, B2bits::MD::FIXMessage const *const *msgs, size_t incrementsCount)=0 |
virtual bool | onNaturalRefresh (BovespaSubscriptionItem const &subsItem, B2bits::MD::FIXMessage const *const *nrMsgs, size_t incrementsCount, bool isNewSequence)=0 |
virtual void | onSnapshot (BovespaSubscriptionItem const &subsItem, B2bits::MD::FIXMessage const *msg)=0 |
virtual void | onRecoveryStarted (BovespaSubscriptionItem const &subsItem)=0 |
virtual void | onRecoveryStopped (BovespaSubscriptionItem const &subsItem, RecoveryReason reason)=0 |
virtual void | onError (BovespaSubscriptionItem const &subsItem, StringRef const &error)=0 |
virtual void | onBookReset (BovespaSubscriptionItem const &subsItem)=0 |
virtual void | onIncrementalRefreshComplete (BovespaSubscriptionItem const &subsItem) |
Public Member Functions inherited from Bovespa::SecurityDefinitionListener | |
virtual bool | onSecurityDefinition (BovespaSubscriptionItem const &subsItem, B2bits::MD::FIXMessage const &msg)=0 |
virtual bool | onEndSecurityDefinitionSequence () |
Public Member Functions inherited from B2bits::ReferenceCounter< Derived, CtrType > | |
ReferenceCounter () noexcept | |
ReferenceCounter (ReferenceCounter const &) noexcept | |
ReferenceCounter & | operator= (ReferenceCounter const &) noexcept |
void | addRef () const noexcept |
void | release () const noexcept |
u32 | useCount () const noexcept |
RefCounterPtr< Derived > | shared_from_this () |
Protected Member Functions | |
virtual | ~InstrumentListener () |
Protected Member Functions inherited from Bovespa::SecurityDefinitionListener | |
virtual | ~SecurityDefinitionListener () |
Destructor. More... | |
Receives instrument related events.
|
inlineprotectedvirtual |
|
pure virtual |
Fired on channel reset event for(35=X and 269=J without any instrument identification)
subsItem | instrument identifier |
|
pure virtual |
Fired on error (example: when second subscribing was attempt for the same instrument)
subsItem | instrument identifier |
error | text message which describes the error |
|
pure virtual |
Fired when update for instrument is available.
subsItem | instrument identifier |
msgs | Increment container with group entry inside Market Data - Incremental Refresh message assigned to instrument. |
incrementsCount | Increments count into Msgs |
|
inlinevirtual |
Called when incremental message is fully processed
subsItem | instrument identifier |
|
pure virtual |
Fired when user should reset book with the new values and Natural Refresh is used
subsItem | instrument identifier |
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 |
Fired when recovery is started
subsItem | instrument identifier |
|
pure virtual |
Fired when recovery is ended
subsItem | instrument identifier |
reason | The reason why recovery has stopped |
|
pure virtual |
Fired when user should reset book with the bnew values.
subsItem | instrument identifier |
msg | Market Data - Snapshot message |
|
pure virtual |
Notifies about new subscription. Fired when user call Bovespa::MDApplication::subscribe methods.
subsItem | instrument identifier |
|
pure virtual |
Fired when unsubscribed from security description
subsItem | instrument identifier |
|
pure virtual |
Fired when information regard to instrument received
subsItem | subscription item |
msg | Incoming FIX Message |