EPAM B2BITS ICE Impact Handler C++  1.1.4
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | List of all members
IceImpact::ResetReason Struct Reference

Reasons why instrument resets its state. More...

#include <B2BITS_IceImpactEvents.h>

Public Types

enum  Type { rrSequenceNumber, rrSnapshot, rrSnapshotRestart, rrNaturalRefresh }
 

Detailed Description

Reasons why instrument resets its state.

When reset condition occurs, ApplicationListener::onInstrumentReset callback is called, which instructs the user to clear order books for an instrument; this action is needed if the user builds own order books, otherwise it can be skipped.

Member Enumeration Documentation

Enumerator
rrSequenceNumber 

A packet with sequence number = 1 has been received.

rrSnapshot 

Recovery from Snapshot is started.

rrSnapshotRestart 

Recovery from Snapshot is re-started due to packet loss on snapshot channel.

rrNaturalRefresh 

Recovery is required, but service is configured to use natural refresh

See Also
RuntimeParameters::useNaturalRefresh