PubSub+ Messaging API For C
7.31.0.7
|
Functions | Typedefs | Enumerations | Enumeration Values | Defines |
Function information for Session creation. More...
#include <solClient.h>
Data Fields | |
solClient_session_createRxCallbackFuncInfo_t | rxInfo |
solClient_session_createEventCallbackFuncInfo_t | eventInfo |
solClient_session_createRxMsgCallbackFuncInfo_t | rxMsgInfo |
Function information for Session creation.
This is set on a per-Session basis.
The application must set the eventInfo callback information. All Sessions must have an event callback registered.
The application must set one, and only one, message callback information. The rxInfo message callback interface is deprecated and should be set to NULL. All applications should prefer to use the rxMsgInfo callback interface. The application has available to it a solClient_opaqueMsg_pt, which can be kept for later processing and provides a structured interface for accessing elements of the received message. The application callback routine then has the signature (see solClient_session_rxMsgCallbackFunc_t) :
solClient_rxMsgCallback_returnCode_t applicationRxMsgCallback (solClient_opaqueSession_pt opaqueSession_p, solClient_opaqueMsg_pt msg_p, void *user_p);