WPILibC++
2018.4.1-20180921134745-1191-g456d3e1
|
NetworkTables Remote Procedure Call (Server Side) More...
#include <ntcore_cpp.h>
Public Member Functions | |
RpcAnswer (NT_Entry entry_, NT_RpcCall call_, StringRef name_, StringRef params_, const ConnectionInfo &conn_) | |
operator bool () const | |
Determines if the native handle is valid. More... | |
bool | PostResponse (StringRef result) const |
Post RPC response (return value) for a polled RPC. More... | |
Public Attributes | |
NT_Entry | entry |
Entry handle. More... | |
NT_RpcCall | call |
Call handle. More... | |
std::string | name |
Entry name. More... | |
std::string | params |
Call raw parameters. More... | |
ConnectionInfo | conn |
Connection that called the RPC. More... | |
Friends | |
void | swap (RpcAnswer &first, RpcAnswer &second) |
NetworkTables Remote Procedure Call (Server Side)
|
inlineexplicit |
Determines if the native handle is valid.
|
inline |
Post RPC response (return value) for a polled RPC.
result | result raw data that will be provided to remote caller |
|
mutable |
Call handle.
ConnectionInfo nt::RpcAnswer::conn |
Connection that called the RPC.
NT_Entry nt::RpcAnswer::entry |
Entry handle.
std::string nt::RpcAnswer::name |
Entry name.
std::string nt::RpcAnswer::params |
Call raw parameters.