Represents an RPC response and associated data. More...
Public Member Functions | |
| uint32_t | getDataLength (void) |
| Gets the size of the data payload for this response. | |
| void * | getData (void) |
| Returns a pointer to the data payload for the response. | |
| NDNodeID | getRequesterNodeID (void) |
| Returns the NodeID of the node that issued the RPC. | |
| void | release (void) |
| Releases this RPC reponse back to NetDog. | |
Static Public Member Functions | |
| static void * | operator new (size_t s) |
| static void | operator delete (void *p) |
Represents an RPC response and associated data.
Created internally by NetDog, and passed to the user.
Do not use new/delete operators with this class
| NDRpcResponse::getData | ( | void | ) |
Returns a pointer to the data payload for the response.
This is the "result" that the RPC server will send back to the caller. This is purely user defined.
| NDRpcResponse::getDataLength | ( | void | ) |
Gets the size of the data payload for this response.
| NDRpcResponse::getRequesterNodeID | ( | void | ) |
Returns the NodeID of the node that issued the RPC.
| NDRpcResponse::release | ( | void | ) |
Releases this RPC response back to NetDog. This "frees" the response object.
1.6.1