B2BITS FIX Antenna C++ 2.33.0
Loading...
Searching...
No Matches
Public Types | List of all members
Bats::ResetReason Struct Reference

Reasons why service resets its state. More...

#include <B2BITS_BatsUnitService.h>

Public Types

enum  Type { rrSequenceNumber , rrSpin , rrUnitClear , rrNaturalRefresh }
 

Detailed Description

Reasons why service resets its state.

When reset condition occurs, service generates ServiceListener::onReset and InstrumentListener::onReset events. Clears the cache and order books.

Member Enumeration Documentation

◆ Type

Enumerator
rrSequenceNumber 

Received unexpected packet with sequence number = 1.

rrSpin 

Recovery from Spin server is required.

rrUnitClear 

Bats::UnitClearMsg message is received.

rrNaturalRefresh 

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

See also
RuntimeParameters::useNaturalRefresh