Kyoto Tycoon
|
Interface to log internal information and errors. More...
#include <ktrpc.h>
Classes | |
class | Data |
Interface of session local data. More... | |
Public Member Functions | |
uint64_t | id () |
Get the ID number of the session. | |
uint32_t | thread_id () |
Get the ID number of the worker thread. | |
void | set_data (Data *data) |
Set the session local data. | |
Data * | data () |
Get the session local data. | |
const std::string | expression () |
Get the expression of the socket. | |
Friends | |
class | RPCServer |
Interface to log internal information and errors.
uint64_t kyototycoon::RPCServer::Session::id | ( | ) |
Get the ID number of the session.
uint32_t kyototycoon::RPCServer::Session::thread_id | ( | ) |
Get the ID number of the worker thread.
void kyototycoon::RPCServer::Session::set_data | ( | Data * | data | ) |
Set the session local data.
data | the session local data. If it is NULL, no data is registered. |
Get the session local data.
const std::string kyototycoon::RPCServer::Session::expression | ( | ) |
Get the expression of the socket.