botsense  3.2.0
RoadNarrows Client-Server Proxied Services Framework
BotSense Transaction Id Attributes

Macros

#define BSPROXY_TID_MIN   0
 minimum transaction id
 
#define BSPROXY_TID_MAX   255
 maximum transaction id
 
#define BSPROXY_TID_NUMOF   256
 number of unique tid's
 
#define BSPROXY_TID_MASK   0xff
 transaction id mask
 

Typedefs

typedef uint_t BsTid_T
 client transaction id type [0-255].
 

Detailed Description

A transaction id provides an identifier to map responses to requests. Since a BotSense client can be mulit-threaded and the bsProxy server is multi- threaded by proxied device, responses can be received by the client out of order. The BotSense client library automatically reorders the responses and delivers the correct response to the given request.