A fyb.
More...
#include <fyb.h>
|
std::string | _uri |
| _URI of the document
|
|
◆ Fyb() [1/2]
Initializes a new instance of the Fyb class.
◆ ~Fyb()
Finalizes an instance of the Fyb class.
◆ Fyb() [2/2]
trader::Fyb::Fyb |
( |
const Fyb & |
| ) |
|
|
protected |
Initializes a new instance of the Fyb class.
- Parameters
-
parameter1 | The first parameter. |
◆ execute()
void trader::Fyb::execute |
( |
Poco::Timer & |
timer | ) |
|
Executes the given timer.
- Parameters
-
◆ executeOrderBook()
void trader::Fyb::executeOrderBook |
( |
Poco::Timer & |
timer | ) |
|
Executes the order book operation.
- Parameters
-
◆ executeOrderHistory()
void trader::Fyb::executeOrderHistory |
( |
Poco::Timer & |
timer | ) |
|
Executes the order history operation.
- Parameters
-
◆ executePendingOrders()
void trader::Fyb::executePendingOrders |
( |
Poco::Timer & |
timer | ) |
|
Executes the pending orders operation.
- Parameters
-
◆ executeTradeHistory()
void trader::Fyb::executeTradeHistory |
( |
Poco::Timer & |
timer | ) |
|
Executes the trade history operation.
- Parameters
-
◆ getConnection()
Gets a connection.
- Parameters
-
connectionId | Identifier for the connection. |
- Returns
- The connection.
◆ invoke()
Dynamic::Var trader::Fyb::invoke |
( |
const std::string & |
httpMethod, |
|
|
Poco::URI & |
uri |
|
) |
| |
|
virtual |
Executes the given operation on a different thread, and waits for the result.
- Parameters
-
httpMethod | The HTTP method. |
uri | [in,out] URI of the document. |
- Returns
- A Poco::Dynamic::Var.
- Exceptions
-
TimeoutException | Thrown when a Timeout error condition occurs. |
ApplicationException | Thrown when an Application error condition occurs. |
- Parameters
-
httpMethod | The HTTP method. |
uri | [in,out] URI of the document. |
- Returns
- A Dynamic::Var.
Implements trader::Api.
◆ operator=()
Fyb& trader::Fyb::operator= |
( |
const Fyb & |
| ) |
|
|
protected |
Assignment operator.
- Parameters
-
parameter1 | The first parameter. |
- Returns
- A shallow copy of this object.
◆ run()
void trader::Fyb::run |
( |
| ) |
|
◆ setParams()
void trader::Fyb::setParams |
( |
const std::string & |
paramString | ) |
|
|
virtual |
Sets the parameters.
- Parameters
-
parameter1 | The first parameter. |
- Exceptions
-
Poco::NotFoundException | Thrown when the requested element is not present. |
- Parameters
-
paramString | The parameter string. |
Reimplemented from trader::Api.
The documentation for this class was generated from the following files:
- src/dataconnector/fyb.h
- src/dataconnector/fyb.cpp
- src/dataconnector/fybconnection.cpp