Last change
on this file since 88 was
88,
checked in by jrpelegrina, 5 years ago
|
First relase to xenial
|
File size:
992 bytes
|
Line | |
---|
1 | |
---|
2 | #ifndef _LSF_N4D_ |
---|
3 | #define _LSF_N4D_ |
---|
4 | |
---|
5 | #include <xmlrpc-c/base.hpp> |
---|
6 | |
---|
7 | #include <vector> |
---|
8 | #include <string> |
---|
9 | |
---|
10 | namespace net |
---|
11 | { |
---|
12 | namespace lliurex |
---|
13 | { |
---|
14 | namespace n4d |
---|
15 | { |
---|
16 | /*! |
---|
17 | Gets available variables |
---|
18 | \param server_addr address of a valid n4d server |
---|
19 | */ |
---|
20 | xmlrpc_c::value GetVariableList(std::string server_addr=std::string("https://localhost:9779")); |
---|
21 | /*! |
---|
22 | Reads a variable |
---|
23 | \param varname variable name |
---|
24 | \param server_addr address of a valid n4d server |
---|
25 | */ |
---|
26 | xmlrpc_c::value GetVariable(std::string varname, std::string server_addr=std::string("https://localhost:9779")); |
---|
27 | |
---|
28 | /*! |
---|
29 | Sets a variable |
---|
30 | \param varname variable name |
---|
31 | \param data variable value |
---|
32 | \param user user name |
---|
33 | \param password user password |
---|
34 | \param server_addr address of a valid n4d server |
---|
35 | */ |
---|
36 | void SetVariable(std::string varname,xmlrpc_c::value data,std::string user,std::string password,std::string server_addr=std::string("https://localhost:9779")); |
---|
37 | |
---|
38 | } |
---|
39 | } |
---|
40 | } |
---|
41 | |
---|
42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.