104 toStr(str, handling);
211 , servingTimeLimit_(10)
221 , service_(other.service_)
222 , attempts_(other.attempts_)
223 , servingTimeLimit_(other.servingTimeLimit_)
248 group_.controlAssignment(
"TCP Recovery Service Instance", service_,
service);
272 group_.controlAssignment(
"TCP Recovery Attempt Quantity", attempts_, qty);
287 return servingTimeLimit_;
300 group_.controlAssignment(
"TCP Recovery Serving Time Limit", servingTimeLimit_,
servingTimeLimit);
311 group_.controlChange(
312 "TCP Recovery Session Settings", &TcpRecoverySessionSettings::assignNoControl, *
this, other
333 service_ = other.service_;
335 attempts_ = other.attempts_;
337 servingTimeLimit_ = other.servingTimeLimit_;
350 toStr(str, settings);
367 , tcpRecovery_(&
group())
375 , joinRecovery_(other.joinRecovery_)
376 , gapAndErrorHandling_(other.gapAndErrorHandling_)
377 , instrumentRecovery_(other.instrumentRecovery_)
378 , marketRecovery_(other.marketRecovery_)
379 , tcpRecovery_(other.tcpRecovery_)
393 return joinRecovery_;
414 return gapAndErrorHandling_;
433 return instrumentRecovery_;
451 return marketRecovery_;
503 tcpRecovery_.assignNoControl(other.tcpRecovery_);
508 joinRecovery_ = other.joinRecovery_;
510 gapAndErrorHandling_ = other.gapAndErrorHandling_;
512 instrumentRecovery_ = other.instrumentRecovery_;
514 marketRecovery_ = other.marketRecovery_;
539 toStr(str, settings);
667#if !defined(ONIXS_CMEMDH_NO_DEPRECATED)
677 AccuratePreopeningSession()
679 setSessionToAccuratePreopening(*
this);
691 AccuratePreopeningMboSession()
693 setSessionToAccuratePreopening(*
this);
694 setSessionToRecoverMboBooksOnly(*
this);
706 AccuratePreopeningMbpSession()
721 AccurateLateJoinSession()
736 AccurateLateJoinMboSession()
751 AccurateLateJoinMbpSession()
766 NaturalRefreshSession()
#define ONIXS_CMEMDH_NAMESPACE_BEGIN
#define ONIXS_CMEMDH_LTWT
#define ONIXS_CMEMDH_LTWT_CLASS_DECL(name)
#define ONIXS_CMEMDH_EXPORTED_CLASS_DECL(typeName)
#define ONIXS_CMEMDH_NAMESPACE_END
#define ONIXS_CMEMDH_EXPORTED
SessionSettings & marketRecovery(MarketRecoveryOptions::Enum recovery)
SessionSettings & gapAndErrorHandling(GapAndErrorHandlingOptions::Enum handling)
SessionSettings & instrumentRecovery(InstrumentRecoveryOptions::Enum recovery)
void assignNoControlLegacy(const SessionSettings &other)
~SessionSettings()
Cleans everything up.
InstrumentRecoveryOptions::Enum instrumentRecovery() const
SessionSettings(const SessionSettings &other)
const SettingGroup & group() const
JoinRecoveryOptions::Enum joinRecovery() const
friend struct LegacyAssigner
const TcpRecoverySessionSettings & tcpRecovery() const
Set of TCP recovery settings.
SessionSettings & joinRecovery(JoinRecoveryOptions::Enum recovery)
SessionSettings(SettingChangeController *controller=nullptr)
Initializes parameters with default values.
void assignNoControl(const SessionSettings &other)
GapAndErrorHandlingOptions::Enum gapAndErrorHandling() const
MarketRecoveryOptions::Enum marketRecovery() const
TcpRecoverySessionSettings & tcpRecovery()
Editable set of TCP recovery settings.
SessionSettings & operator=(const SessionSettings &other)
friend class HandlerSettings
Associates setting mutations with a change controller.
SettingGroup(SettingChangeController *controller=nullptr)
Creates a setting group that uses the specified controller.
void controlChange(const Messaging::Char *description, void(Changeable::*change)(), Changeable &changeable) const
Invokes a zero-argument member function as a guarded change.
void controlAssignment(const Messaging::Char *description, Assignee &assignee, Value value) const
Assigns a value while coordinating the change with the controller.
Collection of session settings related to TCP recovery.
~TcpRecoverySessionSettings()
Finalizes the instance.
TcpRecoverySessionSettings(const SettingGroup *group=nullptr)
TcpRecoverySessionSettings & operator=(const TcpRecoverySessionSettings &other)
TcpRecoveryService * service() const
TcpRecoverySessionSettings & servingTimeLimit(Messaging::UInt32 servingTimeLimit)
TcpRecoverySessionSettings & service(TcpRecoveryService *service)
Messaging::UInt32 servingTimeLimit() const
Messaging::UInt32 attempts() const
friend class SessionSettings
Lets grouping and value assignment control functioning.
TcpRecoverySessionSettings & attempts(Messaging::UInt32 qty)
TcpRecoverySessionSettings(const TcpRecoverySessionSettings &other)
std::uint32_t UInt32
uInt32.
void setSessionToRecoverInstrumentsFast(SessionSettings &settings)
void setSessionToJoinInPreopening(SessionSettings &settings)
void setSessionToRecoverMboBooksOnly(SessionSettings &settings)
void setSessionToRecoverMbpBooksOnly(SessionSettings &settings)
void setSessionToNaturalRefresh(SessionSettings &settings)
void setSessionToFullRecoverUponRealtimeIssues(SessionSettings &settings)
void setSessionToRecoverBothMboAndMbpBooks(SessionSettings &settings)
void setSessionToRecoverInstrumentsAccurately(SessionSettings &settings)
void setSessionToContinueRealtimeProcessingUponIssues(SessionSettings &settings)
void toStr(std::string &str, BookState::Enum bookState)
Appends a string representation of a book state.
void setSessionToLateJoin(SessionSettings &settings)
void setSessionToRecoverBooksUponRealtimeIssues(SessionSettings &settings)
void setSessionToAccurateLateJoin(SessionSettings &settings)
void setSessionToAccuratePreopening(SessionSettings &settings)
@ ContinueProcessing
Handler continues processing of real-time market data.
@ RecoverMarketState
Handler recovers market state from snapshots.
@ RecoverInstrumentsAndMarketState
Handler recovers instruments and market state afterwards.
Defines different ways of instrument definition recovery.
Messaging::UInt32 Base
Integral type used as basement for constants.
@ InstrumentsAndMarketState
Defines market state recovery options.
Coordinates changes to settings that belong to a setting group.