botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
_bsproxy_th_ctl Struct Reference

#include <bsProxy.h>

Public Attributes

const char * m_sDevUri
 proxied device URI or server
 
uint_t m_uRefCnt
 vconn reference count for this thread
 
BsProxyThState_T m_eState
 thread state
 
pthread_mutex_t m_mutexSync
 synchronization mutex used by condition
 
pthread_cond_t m_condSync
 synchronization condition
 
DListVoid_T * m_queue
 thread request queue
 
pthread_t m_thread
 the service thread
 
int(* m_fnRequest )(BsProxyClientHnd_T hndClient, BsVConnHnd_T hndVConn, BsTid_T uTid, BsMsgId_T uMsgId, byte_t bufReq[], size_t uReqLen)
 Service thread request handler. More...
 

Detailed Description

BotSense Service Thread Control Block Structure Type

Definition at line 148 of file bsProxy.h.

Member Data Documentation

int(* _bsproxy_th_ctl::m_fnRequest) (BsProxyClientHnd_T hndClient, BsVConnHnd_T hndVConn, BsTid_T uTid, BsMsgId_T uMsgId, byte_t bufReq[], size_t uReqLen)

Service thread request handler.

Parameters
hndClient

Definition at line 170 of file bsProxy.h.

Referenced by ThCreateDevThread(), ThCreateServerThread(), and ThServiceThread().


The documentation for this struct was generated from the following file: