|
SAGA C++ API
1.6
|
This class represents a remote function handle, which can be called (repeatedly), and returns the result of the respective remote procedure invocation. More...
#include <rpc.hpp>
Inheritance diagram for saga::rpc::rpc:Public Member Functions | |
| rpc (session const &s, saga::url name=saga::url()) | |
| Initializes a remote function handle. | |
| rpc (saga::url name) | |
| Brief description starts here. | |
| rpc (void) | |
| Brief description starts here. | |
| ~rpc (void) | |
| Destroys the object. | |
| void | call (std::vector< parameter > parameters) |
| Call the remote procedure. | |
| void | close (double timeout=0.0) |
| Closes the rpc handle instance. | |
Static Public Member Functions | |
| static rpc | create (session const &s, saga::url name=saga::url()) |
| Factory function resembling rpc(session, url) constructor. | |
| static rpc | create (saga::url name=saga::url()) |
| Factory function resembling rpc(url) constructor. | |
| template<typename Tag > | |
| static saga::task | create (saga::url name=saga::url()) |
This class represents a remote function handle, which can be called (repeatedly), and returns the result of the respective remote procedure invocation.
Definition at line 48 of file packages/rpc/rpc.hpp.
| saga::rpc::rpc::rpc | ( | saga::url | name | ) | [explicit] |
| static rpc saga::rpc::rpc::create | ( | session const & | s, |
| saga::url | name = saga::url() |
||
| ) | [inline, static] |
Factory function resembling rpc(session, url) constructor.
Definition at line 98 of file packages/rpc/rpc.hpp.
Factory function resembling rpc(url) constructor.
Definition at line 108 of file packages/rpc/rpc.hpp.
| static saga::task saga::rpc::rpc::create | ( | saga::url | name = saga::url() | ) | [inline, static] |
Definition at line 113 of file packages/rpc/rpc.hpp.
| void saga::rpc::rpc::call | ( | std::vector< parameter > | parameters | ) | [inline] |
Call the remote procedure.
Definition at line 122 of file packages/rpc/rpc.hpp.
References saga::task::get_result().
| void saga::rpc::rpc::close | ( | double | timeout = 0.0 | ) | [inline] |
Closes the rpc handle instance.
Definition at line 135 of file packages/rpc/rpc.hpp.
References saga::task::get_result().