GoPxL SDK
GoPxLSdk::GoTransaction Class Reference

Public Member Functions

void CheckResponse (k64u timeoutInMilliseconds=DEFAULT_TRANSACTION_TIMEOUT_MSEC)
 Checks the future transaction response value without returning it. More...
 
const GoRequestGetRequest ()
 Gets the transaction request value. More...
 
const GoRequestResponseGetResponse (k64u timeoutInMilliseconds=DEFAULT_TRANSACTION_TIMEOUT_MSEC)
 Gets the future transaction response value. More...
 
std::shared_future
< GoRequestResponse > & 
GetResponseFuture ()
 Gets the future which stores the transaction response value. More...
 
 GoTransaction ()=default
 Constructs GoTransaction. More...
 
 GoTransaction (const GoRequest &request)
 Transaction handle to simplify working with asynchronous result data. More...
 
void OnError (const std::exception &e)
 Sets the future error and forces GetResponse() to throw exception e wrapped in GoChannelError. More...
 
void OnResponse (const std::shared_ptr< GoRequestResponse > &response)
 Sets the future which stores the transaction response value. More...
 

Friends

class ::GoTransactionTests
 
class GoRestClient
 

The documentation for this class was generated from the following file: