fix8
version 1.4.0
Open Source C++ FIX Framework
|
Example server message router. Derives from fix8 generated router class. More...
#include <hftest.hpp>
Public Member Functions | |
tex_router_server (hf_session_server &session) | |
virtual bool | operator() (const FIX8::TEX::NewOrderSingle *msg) |
tex_router_server (myfix_session_server &session) | |
virtual bool | operator() (const FIX8::TEX::NewOrderSingle *msg) const |
Public Member Functions inherited from FIX8::TEX::Myfix_Router | |
Myfix_Router () | |
virtual | ~Myfix_Router () |
virtual bool | operator() (const class Message *msg) const |
virtual bool | operator() (const class Heartbeat *msg) const |
virtual bool | operator() (const class TestRequest *msg) const |
virtual bool | operator() (const class ResendRequest *msg) const |
virtual bool | operator() (const class Reject *msg) const |
virtual bool | operator() (const class SequenceReset *msg) const |
virtual bool | operator() (const class Logout *msg) const |
virtual bool | operator() (const class IOI *msg) const |
virtual bool | operator() (const class Advertisement *msg) const |
virtual bool | operator() (const class ExecutionReport *msg) const |
virtual bool | operator() (const class OrderCancelReject *msg) const |
virtual bool | operator() (const class Logon *msg) const |
virtual bool | operator() (const class DerivativeSecurityList *msg) const |
virtual bool | operator() (const class NewOrderMultileg *msg) const |
virtual bool | operator() (const class MultilegOrderCancelReplace *msg) const |
virtual bool | operator() (const class TradeCaptureReportRequest *msg) const |
virtual bool | operator() (const class TradeCaptureReport *msg) const |
virtual bool | operator() (const class OrderMassStatusRequest *msg) const |
virtual bool | operator() (const class QuoteRequestReject *msg) const |
virtual bool | operator() (const class RFQRequest *msg) const |
virtual bool | operator() (const class QuoteStatusReport *msg) const |
virtual bool | operator() (const class QuoteResponse *msg) const |
virtual bool | operator() (const class Confirmation *msg) const |
virtual bool | operator() (const class PositionMaintenanceRequest *msg) const |
virtual bool | operator() (const class PositionMaintenanceReport *msg) const |
virtual bool | operator() (const class RequestForPositions *msg) const |
virtual bool | operator() (const class RequestForPositionsAck *msg) const |
virtual bool | operator() (const class PositionReport *msg) const |
virtual bool | operator() (const class TradeCaptureReportRequestAck *msg) const |
virtual bool | operator() (const class TradeCaptureReportAck *msg) const |
virtual bool | operator() (const class AllocationReport *msg) const |
virtual bool | operator() (const class AllocationReportAck *msg) const |
virtual bool | operator() (const class ConfirmationAck *msg) const |
virtual bool | operator() (const class SettlementInstructionRequest *msg) const |
virtual bool | operator() (const class AssignmentReport *msg) const |
virtual bool | operator() (const class CollateralRequest *msg) const |
virtual bool | operator() (const class CollateralAssignment *msg) const |
virtual bool | operator() (const class CollateralResponse *msg) const |
virtual bool | operator() (const class News *msg) const |
virtual bool | operator() (const class CollateralReport *msg) const |
virtual bool | operator() (const class CollateralInquiry *msg) const |
virtual bool | operator() (const class NetworkCounterpartySystemStatusRequest *msg) const |
virtual bool | operator() (const class NetworkCounterpartySystemStatusResponse *msg) const |
virtual bool | operator() (const class UserRequest *msg) const |
virtual bool | operator() (const class UserResponse *msg) const |
virtual bool | operator() (const class CollateralInquiryAck *msg) const |
virtual bool | operator() (const class ConfirmationRequest *msg) const |
virtual bool | operator() (const class TradingSessionListRequest *msg) const |
virtual bool | operator() (const class TradingSessionList *msg) const |
virtual bool | operator() (const class SecurityListUpdateReport *msg) const |
virtual bool | operator() (const class AdjustedPositionReport *msg) const |
virtual bool | operator() (const class AllocationInstructionAlert *msg) const |
virtual bool | operator() (const class ExecutionAcknowledgement *msg) const |
virtual bool | operator() (const class ContraryIntentionReport *msg) const |
virtual bool | operator() (const class SecurityDefinitionUpdateReport *msg) const |
virtual bool | operator() (const class SettlementObligationReport *msg) const |
virtual bool | operator() (const class DerivativeSecurityListUpdateReport *msg) const |
virtual bool | operator() (const class TradingSessionListUpdateReport *msg) const |
virtual bool | operator() (const class MarketDefinitionRequest *msg) const |
virtual bool | operator() (const class MarketDefinition *msg) const |
virtual bool | operator() (const class MarketDefinitionUpdateReport *msg) const |
virtual bool | operator() (const class ApplicationMessageRequest *msg) const |
virtual bool | operator() (const class ApplicationMessageRequestAck *msg) const |
virtual bool | operator() (const class ApplicationMessageReport *msg) const |
virtual bool | operator() (const class OrderMassActionReport *msg) const |
virtual bool | operator() (const class Email *msg) const |
virtual bool | operator() (const class OrderMassActionRequest *msg) const |
virtual bool | operator() (const class UserNotification *msg) const |
virtual bool | operator() (const class StreamAssignmentRequest *msg) const |
virtual bool | operator() (const class StreamAssignmentReport *msg) const |
virtual bool | operator() (const class StreamAssignmentReportACK *msg) const |
virtual bool | operator() (const class PartyDetailsListRequest *msg) const |
virtual bool | operator() (const class PartyDetailsListReport *msg) const |
virtual bool | operator() (const class NewOrderSingle *msg) const |
virtual bool | operator() (const class NewOrderList *msg) const |
virtual bool | operator() (const class OrderCancelRequest *msg) const |
virtual bool | operator() (const class OrderCancelReplaceRequest *msg) const |
virtual bool | operator() (const class OrderStatusRequest *msg) const |
virtual bool | operator() (const class AllocationInstruction *msg) const |
virtual bool | operator() (const class ListCancelRequest *msg) const |
virtual bool | operator() (const class ListExecute *msg) const |
virtual bool | operator() (const class ListStatusRequest *msg) const |
virtual bool | operator() (const class ListStatus *msg) const |
virtual bool | operator() (const class AllocationInstructionAck *msg) const |
virtual bool | operator() (const class DontKnowTrade *msg) const |
virtual bool | operator() (const class QuoteRequest *msg) const |
virtual bool | operator() (const class Quote *msg) const |
virtual bool | operator() (const class SettlementInstructions *msg) const |
virtual bool | operator() (const class MarketDataRequest *msg) const |
virtual bool | operator() (const class MarketDataSnapshotFullRefresh *msg) const |
virtual bool | operator() (const class MarketDataIncrementalRefresh *msg) const |
virtual bool | operator() (const class MarketDataRequestReject *msg) const |
virtual bool | operator() (const class QuoteCancel *msg) const |
virtual bool | operator() (const class QuoteStatusRequest *msg) const |
virtual bool | operator() (const class MassQuoteAcknowledgement *msg) const |
virtual bool | operator() (const class SecurityDefinitionRequest *msg) const |
virtual bool | operator() (const class SecurityDefinition *msg) const |
virtual bool | operator() (const class SecurityStatusRequest *msg) const |
virtual bool | operator() (const class SecurityStatus *msg) const |
virtual bool | operator() (const class TradingSessionStatusRequest *msg) const |
virtual bool | operator() (const class TradingSessionStatus *msg) const |
virtual bool | operator() (const class MassQuote *msg) const |
virtual bool | operator() (const class BusinessMessageReject *msg) const |
virtual bool | operator() (const class BidRequest *msg) const |
virtual bool | operator() (const class BidResponse *msg) const |
virtual bool | operator() (const class ListStrikePrice *msg) const |
virtual bool | operator() (const class RegistrationInstructions *msg) const |
virtual bool | operator() (const class RegistrationInstructionsResponse *msg) const |
virtual bool | operator() (const class OrderMassCancelRequest *msg) const |
virtual bool | operator() (const class OrderMassCancelReport *msg) const |
virtual bool | operator() (const class NewOrderCross *msg) const |
virtual bool | operator() (const class CrossOrderCancelReplaceRequest *msg) const |
virtual bool | operator() (const class CrossOrderCancelRequest *msg) const |
virtual bool | operator() (const class SecurityTypeRequest *msg) const |
virtual bool | operator() (const class SecurityTypes *msg) const |
virtual bool | operator() (const class SecurityListRequest *msg) const |
virtual bool | operator() (const class SecurityList *msg) const |
virtual bool | operator() (const class DerivativeSecurityListRequest *msg) const |
Public Member Functions inherited from FIX8::Router | |
virtual | ~Router () |
Dtor. More... | |
virtual bool | operator() (const Message *msg) const |
virtual bool | operator() (const Message *msg) |
Public Member Functions inherited from FIX8::TEX::Perf_Router | |
Perf_Router () | |
virtual | ~Perf_Router () |
virtual bool | operator() (const class Message *msg) |
virtual bool | operator() (const class Heartbeat *msg) |
virtual bool | operator() (const class TestRequest *msg) |
virtual bool | operator() (const class ResendRequest *msg) |
virtual bool | operator() (const class Reject *msg) |
virtual bool | operator() (const class SequenceReset *msg) |
virtual bool | operator() (const class Logout *msg) |
virtual bool | operator() (const class ExecutionReport *msg) |
virtual bool | operator() (const class Logon *msg) |
virtual bool | operator() (const class NewOrderSingle *msg) |
Private Attributes | |
hf_session_server & | _session |
myfix_session_server & | _session |
Example server message router. Derives from fix8 generated router class.
Your application must define a class similar to this in order to receive the appropriate callback when Message::process is called.
Definition at line 108 of file hftest.hpp.
|
inline |
|
inline |
|
virtual |
NewOrderSingle message handler. Here is where you provide your own methods for the messages you wish to handle. Only those messages that are of interest to you need to be implemented.
msg | NewOrderSingle message |
Definition at line 398 of file harness.cpp.
|
virtual |
NewOrderSingle message handler. Here is where you provide your own methods for the messages you wish to handle. Only those messages that are of interest to you need to be implemented.
msg | NewOrderSingle message |
Definition at line 585 of file hftest.cpp.
References FIX8::MessageBase::copy_legal(), FIX8::TEX::ExecTransType_NEW(), FIX8::TEX::ExecType_NEW(), FIX8::MessageBase::get(), RandDev::getrandom(), FIX8::TEX::OrdStatus_CANCELED(), FIX8::TEX::OrdStatus_FILLED(), FIX8::TEX::OrdStatus_NEW(), FIX8::TEX::OrdStatus_PARTIALLY_FILLED(), and FIX8::TEX::OrdStatus_REJECTED().
|
private |
|
private |
Definition at line 110 of file hftest.hpp.