A kraken.
More...
#include <kraken.h>
|
| | Kraken () |
| | Initializes a new instance of the Kraken class. More...
|
| |
| | ~Kraken () |
| | Finalizes an instance of the Kraken class. More...
|
| |
| Poco::Dynamic::Var | invoke (const std::string &httpMethod, Poco::URI &uri) |
| | Executes the given operation on a different thread, and waits for the result. More...
|
| |
| void | run () |
| | Runs this object. More...
|
| |
| void | execute (Poco::Timer &timer) |
| | Executes the given timer. More...
|
| |
| virtual | ~Api () |
| | Finalizes an instance of the API class. More...
|
| |
| virtual void | setParams (const std::string &) |
| | Sets the parameters. More...
|
| |
|
|
std::string | _uri |
| | _URI of the document
|
| |
◆ Kraken() [1/2]
| trader::Kraken::Kraken |
( |
| ) |
|
Initializes a new instance of the Kraken class.
◆ ~Kraken()
| trader::Kraken::~Kraken |
( |
| ) |
|
Finalizes an instance of the Kraken class.
◆ Kraken() [2/2]
| trader::Kraken::Kraken |
( |
const Kraken & |
| ) |
|
|
protected |
Initializes a new instance of the Kraken class.
- Parameters
-
| parameter1 | The first parameter. |
◆ execute()
| void trader::Kraken::execute |
( |
Poco::Timer & |
timer | ) |
|
Executes the given timer.
- Parameters
-
◆ getConnection()
Gets a connection.
- Parameters
-
| connectionId | Identifier for the connection. |
- Returns
- The connection.
◆ invoke()
| Dynamic::Var trader::Kraken::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=()
Assignment operator.
- Parameters
-
| parameter1 | The first parameter. |
- Returns
- A shallow copy of this object.
◆ run()
| void trader::Kraken::run |
( |
| ) |
|
The documentation for this class was generated from the following files:
- src/dataconnector/kraken.h
- src/dataconnector/kraken.cpp