![]() |
botsense
3.2.0
RoadNarrows Client-Server Proxied Services Framework
|
Modules | |
libbotsense Man Pages | |
The BotSense client communicates with the bsProxy server through a messaging protocol transmitted and received over an IP socket interface. The libbotsense library provides a functional interface for the client application, hiding the underlining messaging.
Although a client may use the libbotsense library directly, typically, a client interfaces with an application-specific plug-in library module. The plug-in library makes the appropriate calls to the lower libbotsense layer.
In Figure 5, the high-level, internal control and data flows are illustrated for a client to server request/response message exchange. An application-specific plug-in normally makes the call to bsClientTrans(), checks for errors, and parses the application-specific response. The plug-in library is not shown for clarity.
The sequence:
The locking and unlocking mutal exclusion are done at a per client level, uneffecting other clients. There is also one transaction cache per client. This design has been optimized for maximal multi-threaded performance.
The libbotsense library: