An internal representation of a request, converted from an FIX message into this object for faster pr...
Definition Command.h:22
Command(const CommandType type, common::ClientID clientId, const common::Timestamp timestamp)
Constructs a new Command object.
Definition Command.h:30
CommandType getType() const
Gets the type of the command.
Definition Command.h:41
common::Timestamp mTimestamp
The timestamp of when the command was created.
Definition Command.h:55
common::ClientID getClientId() const
Gets the client's identifier.
Definition Command.h:43
common::ClientID mClientId
Definition Command.h:52
common::Timestamp getTimestamp() const
Gets the command's timestamp.
Definition Command.h:45
CommandType mType
The type of the command.
Definition Command.h:51
virtual ~Command()=default
Virtual destructor for the Command class.
std::chrono::system_clock::time_point Timestamp
A type alias for std::chrono::system_clock::time_point.
Definition Time.h:15
std::string ClientID
A type alias for client identifiers.
Definition Types.h:140
Definition CancelOrder.h:10
CommandType
Represents the different types of commands that can be processed by the trading engine.
Definition CommandType.h:13