added TcpServer::Worker::getSocket()

added SkvEnv::getItemList()
This commit is contained in:
hyung-hwan 2018-10-28 14:55:47 +00:00
parent 2d7ca5b5d0
commit b57af4a2ef
2 changed files with 3 additions and 0 deletions

View File

@ -136,6 +136,8 @@ public:
Worker* getPrevWorker() { return this->prev_worker; } Worker* getPrevWorker() { return this->prev_worker; }
qse_size_t getWid() const { return this->wid; } qse_size_t getWid() const { return this->wid; }
const QSE::SocketAddress& getSourceAddress() const { return this->address; }
const QSE::Socket& getSocket() const { return this->socket; }
Listener* listener; Listener* listener;
Worker* prev_worker; Worker* prev_worker;

View File

@ -61,6 +61,7 @@ public:
int addItem (const qse_char_t* name, const qse_char_t* dval, ProbeProc probe = QSE_NULL); int addItem (const qse_char_t* name, const qse_char_t* dval, ProbeProc probe = QSE_NULL);
int removeItem (const qse_char_t* name); int removeItem (const qse_char_t* name);
const ItemList& getItemList () const { return this->item_list; }
const qse_char_t* getValue (const qse_char_t* name) const; const qse_char_t* getValue (const qse_char_t* name) const;
int setValue (const qse_char_t* name, const qse_char_t* value); int setValue (const qse_char_t* name, const qse_char_t* value);