PubSub+ Messaging API For C  7.29.0.6
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
solClient_session_createFuncInfo Struct Reference

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
 

Detailed Description

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);

Examples:
ex/common.c, ex/directPubSub.c, ex/ios/Example.m, ex/ios/examples/DirectPubSubExample.m, ex/ios/examples/PerfTestExample.m, ex/ios/examples/SecureSessionExample.m, ex/ios/examples/TopicDispatchExample.m, ex/ios/intro/HelloWorldPubExample.m, ex/ios/intro/HelloWorldSubExample.m, ex/ios/intro/HelloWorldWebPubExample.m, ex/ios/intro/HelloWorldWebSubExample.m, ex/noLocalPubSub.c, ex/perfADPub.c, ex/perfADSub.c, ex/perfTest.c, ex/RRDirectReplier.c, ex/RRDirectRequester.c, ex/RRGuaranteedReplier.c, ex/RRGuaranteedRequester.c, ex/secureSession.c, ex/topicDispatch.c, Intro/HelloWorldPub.c, Intro/HelloWorldQueuePub.c, Intro/HelloWorldQueueSub.c, Intro/HelloWorldSub.c, Intro/HelloWorldWebPub.c, and Intro/HelloWorldWebSub.c.

Field Documentation