![]() |
ATLAS Offline Software
|
#include <Client.h>
Public Member Functions | |
| Client (const std::string &target) | |
| ~Client () | |
| Client (const Client &)=delete | |
| Client & | operator= (const Client &)=delete |
| ExecuteReply | execute (const ExecuteRequest &request) |
| Consume request, block and wait util the server replies, return reply. | |
| std::vector< SequenceInfo > | listSequences (std::string *error=nullptr) |
| List of available sequences. | |
| bool | waitUntilReady (double timeoutSeconds) |
Block until the server answers a ListSequences call or timeoutSeconds elapses. | |
Private Attributes | |
| std::unique_ptr< Impl > | m_impl |
|
explicit |
| target | host:port, e.g. "localhost:50051" |
Definition at line 125 of file Client.cxx.
|
default |
|
delete |
| ExecuteReply AthRemoteExec::Client::execute | ( | const ExecuteRequest & | request | ) |
Consume request, block and wait util the server replies, return reply.
Definition at line 130 of file Client.cxx.
| std::vector< SequenceInfo > AthRemoteExec::Client::listSequences | ( | std::string * | error = nullptr | ) |
List of available sequences.
Empty on failure, with error describing what went wrong.
Definition at line 134 of file Client.cxx.
| bool AthRemoteExec::Client::waitUntilReady | ( | double | timeoutSeconds | ) |
Block until the server answers a ListSequences call or timeoutSeconds elapses.
Lets a test client start before the server is up.
Definition at line 138 of file Client.cxx.