nlib
|
Class that reads the JSON-RPC request. More...
#include "nn/nlib/msgpack/jsonrpc/JsonRpcRequest.h"
Public Types | |
typedef Nlist< JsonRpcRequest > | ListType |
Type used to store the JSON-RPC request sequence restored from the byte string. | |
Static Public Member Functions | |
static errno_t | ReadRequest (const void *p, size_t n, ListType *request_list) |
Restores the JSON-RPC object from the byte string. More... | |
Class that reads the JSON-RPC request.
JsonRpcRequest
order. The receiver of the actual byte string must be written by the user. JsonRpcServerExec
for server processing. It is used within JsonRpcServerExec
. Definition at line 98 of file JsonRpcRequest.h.
|
static |
Restores the JSON-RPC object from the byte string.
[in] | p | Pointer to the JSON-RPC request byte string. |
[in] | n | Size of the byte array. |
[out] | request_list | Pointer that stores the restored JsonRpcRequest order. |
0 | Success. |
EINVAL | p or requestList is NULL or n is 0 . |
ENOMEM | memory allocation failed. |
0
, and the error is set to the response. © 2013, 2014, 2015 Nintendo Co., Ltd. All rights reserved.