|
BetaTrader
A HFT Eco-System
|
An internal representation of a request, converted from an FIX message into this object for faster processing. More...
#include <Command.h>


Public Member Functions | |
| Command (const CommandType type, common::ClientID clientId, const common::Timestamp timestamp) | |
| Constructs a new Command object. | |
| virtual | ~Command ()=default |
| Virtual destructor for the Command class. | |
| common::ClientID | getClientId () const |
| Gets the client's identifier. | |
| common::Timestamp | getTimestamp () const |
| Gets the command's timestamp. | |
| CommandType | getType () const |
| Gets the type of the command. | |
Private Attributes | |
| common::ClientID | mClientId |
| common::Timestamp | mTimestamp |
| The timestamp of when the command was created. | |
| CommandType | mType |
| The type of the command. | |
An internal representation of a request, converted from an FIX message into this object for faster processing.
This is the base class for all commands in the trading system. It provides a common interface for handling different types of requests, such as new orders, modifications, and cancellations.
|
inline |
Constructs a new Command object.
| type | The type of the command. |
| clientId | The identifier of the client sending the command. |
| timestamp | The timestamp of when the command was created. |
|
virtualdefault |
Virtual destructor for the Command class.
|
inline |
Gets the client's identifier.

|
inline |
Gets the command's timestamp.
|
inline |
Gets the type of the command.
|
private |
The identifier of the client sending the command.
|
private |
The timestamp of when the command was created.
|
private |
The type of the command.