nlib
|
#include "nn/nlib/Config.h"
#include "nn/nlib/Nlist.h"
#include "nn/nlib/OutputStream.h"
#include "nn/nlib/UniquePtr.h"
#include "nn/nlib/ReallocOutputStream.h"
#include "nn/nlib/msgpack/MpObject.h"
#include "nn/nlib/msgpack/jsonrpc/JsonRpcResponse.h"
Go to the source code of this file.
Namespaces | |
nn::nlib | |
Implements stream-related classes usually commonly used, various containers, and other gadget classes. nlib_ns is an alias. | |
nn::nlib::msgpack | |
The library used to implement the MessagePack serializer, the JSON parser/writer, and the CSV parser. | |
nn::nlib::msgpack::jsonrpc | |
Implements JSON-RPC 2.0. | |
Typedefs | |
typedef JsonRpcServerFuncCallError(* | nn::nlib::msgpack::jsonrpc::JsonRpcServerFunc) (MpObject ¶m, JsonRpcResponse &response) |
JSON-RPC method handler. More... | |
Enumerations | |
enum | nn::nlib::msgpack::jsonrpc::JsonRpcServerFuncCallError { nn::nlib::msgpack::jsonrpc::JSONSERVER_OK = 0, nn::nlib::msgpack::jsonrpc::JSONSERVER_PARSE_ERROR = -32700, nn::nlib::msgpack::jsonrpc::JSONSERVER_INVALID_REQUEST = -32600, nn::nlib::msgpack::jsonrpc::JSONSERVER_METHOD_NOT_FOUND = -32601, nn::nlib::msgpack::jsonrpc::JSONSERVER_INVALID_PARAMS = -32602, nn::nlib::msgpack::jsonrpc::JSONSERVER_INTERNAL_ERROR = -32603 } |
Return value of the server-side JSON-RPC method handler. More... | |
Functions | |
errno_t | nn::nlib::msgpack::jsonrpc::AddJsonRpcServerMethod (const char *method, JsonRpcServerFunc func) |
Sets the JSON-RPC method handler. More... | |
JsonRpcServerFunc | nn::nlib::msgpack::jsonrpc::GetJsonRpcServerMethod (const char *method) |
Gets the method handler of the JSON-RPC registered by specifying the method name. More... | |
void | nn::nlib::msgpack::jsonrpc::ClearJsonRpcServerMethodTable () |
Deletes all registered JSON-RPC method handlers. | |
size_t | nn::nlib::msgpack::jsonrpc::JsonRpcServerExec (const void *p, size_t n, ReallocOutputStream::UniquePtrType *ptr) |
Creates the JSON-RPC response byte string by processing the JSON-RPC request. More... | |
© 2012-2016 Nintendo Co., Ltd. All rights reserved.