XmlBlasterConnectionUnparsed.h File Reference

#include <util/msgUtil.h>
#include <util/queue/QueueInterface.h>
#include <util/Properties.h>

Include dependency graph for XmlBlasterConnectionUnparsed.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  XmlBlasterConnectionUnparsedStruct
 All synchrnous client access to xmlBlaster goes over this struct and its function pointers. More...

Typedefs

typedef XmlBlasterConnectionUnparsedStruct XmlBlasterConnectionUnparsed
typedef int(*) XmlBlasterConnectionUnparsedInitConnection (XmlBlasterConnectionUnparsed *xb, XmlBlasterException *exception)
typedef int(*) XmlBlasterConnectionUnparsedInitQueue (XmlBlasterConnectionUnparsed *xb, QueueProperties *queueProperties, XmlBlasterException *exception)
typedef char *(*) XmlBlasterConnectionUnparsedConnect (XmlBlasterConnectionUnparsed *xb, const char *const qos, XmlBlasterException *exception)
typedef int(*) XmlBlasterConnectionUnparsedDisconnect (XmlBlasterConnectionUnparsed *xb, const char *qos, XmlBlasterException *exception)
typedef char *(*) XmlBlasterConnectionUnparsedPublish (XmlBlasterConnectionUnparsed *xb, MsgUnit *msgUnit, XmlBlasterException *exception)
typedef QosArr *(*) XmlBlasterConnectionUnparsedPublishArr (XmlBlasterConnectionUnparsed *xb, MsgUnitArr *msgUnitArr, XmlBlasterException *exception)
typedef void(*) XmlBlasterConnectionUnparsedPublishOneway (XmlBlasterConnectionUnparsed *xb, MsgUnitArr *msgUnitArr, XmlBlasterException *exception)
typedef char *(*) XmlBlasterConnectionUnparsedSubscribe (XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)
typedef QosArr *(*) XmlBlasterConnectionUnparsedUnSubscribe (XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)
typedef QosArr *(*) XmlBlasterConnectionUnparsedErase (XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)
typedef MsgUnitArr *(*) XmlBlasterConnectionUnparsedGet (XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)
typedef char *(*) XmlBlasterConnectionUnparsedPing (XmlBlasterConnectionUnparsed *xb, const char *const qos, XmlBlasterException *exception)
typedef int(*) XmlBlasterConnectionUnparsedIsConnected (XmlBlasterConnectionUnparsed *xb)
typedef void(*) XmlBlasterConnectionUnparsedShutdown (XmlBlasterConnectionUnparsed *xb)
typedef MsgRequestInfo *(*) XmlBlasterConnectionUnparsedPreSendEvent (MsgRequestInfo *msgRequestInfo, XmlBlasterException *exception)
typedef MsgRequestInfo *(*) XmlBlasterConnectionUnparsedPostSendEvent (MsgRequestInfo *msgRequestInfo, XmlBlasterException *exception)

Functions

XmlBlasterConnectionUnparsedgetXmlBlasterConnectionUnparsed (int argc, const char *const *argv)
 Get an instance of this to get xmlBlaster access.
void freeXmlBlasterConnectionUnparsed (XmlBlasterConnectionUnparsed **xmlBlasterAccess)
 Free your instance after accessing xmlBlaster.
const char * xmlBlasterConnectionUnparsedUsage ()
 Help usage.


Typedef Documentation

typedef struct XmlBlasterConnectionUnparsedStruct XmlBlasterConnectionUnparsed

Definition at line 29 of file XmlBlasterConnectionUnparsed.h.

typedef char*( * ) XmlBlasterConnectionUnparsedConnect(XmlBlasterConnectionUnparsed *xb, const char *const qos, XmlBlasterException *exception)

Definition at line 34 of file XmlBlasterConnectionUnparsed.h.

typedef int( * ) XmlBlasterConnectionUnparsedDisconnect(XmlBlasterConnectionUnparsed *xb, const char *qos, XmlBlasterException *exception)

Definition at line 35 of file XmlBlasterConnectionUnparsed.h.

typedef QosArr*( * ) XmlBlasterConnectionUnparsedErase(XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)

Definition at line 41 of file XmlBlasterConnectionUnparsed.h.

typedef MsgUnitArr*( * ) XmlBlasterConnectionUnparsedGet(XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)

Definition at line 42 of file XmlBlasterConnectionUnparsed.h.

typedef int( * ) XmlBlasterConnectionUnparsedInitConnection(XmlBlasterConnectionUnparsed *xb, XmlBlasterException *exception)

Definition at line 32 of file XmlBlasterConnectionUnparsed.h.

typedef int( * ) XmlBlasterConnectionUnparsedInitQueue(XmlBlasterConnectionUnparsed *xb, QueueProperties *queueProperties, XmlBlasterException *exception)

Definition at line 33 of file XmlBlasterConnectionUnparsed.h.

typedef int( * ) XmlBlasterConnectionUnparsedIsConnected(XmlBlasterConnectionUnparsed *xb)

Definition at line 44 of file XmlBlasterConnectionUnparsed.h.

typedef char*( * ) XmlBlasterConnectionUnparsedPing(XmlBlasterConnectionUnparsed *xb, const char *const qos, XmlBlasterException *exception)

Definition at line 43 of file XmlBlasterConnectionUnparsed.h.

typedef MsgRequestInfo*( * ) XmlBlasterConnectionUnparsedPostSendEvent(MsgRequestInfo *msgRequestInfo, XmlBlasterException *exception)

Definition at line 47 of file XmlBlasterConnectionUnparsed.h.

typedef MsgRequestInfo*( * ) XmlBlasterConnectionUnparsedPreSendEvent(MsgRequestInfo *msgRequestInfo, XmlBlasterException *exception)

Definition at line 46 of file XmlBlasterConnectionUnparsed.h.

typedef char*( * ) XmlBlasterConnectionUnparsedPublish(XmlBlasterConnectionUnparsed *xb, MsgUnit *msgUnit, XmlBlasterException *exception)

Definition at line 36 of file XmlBlasterConnectionUnparsed.h.

typedef QosArr*( * ) XmlBlasterConnectionUnparsedPublishArr(XmlBlasterConnectionUnparsed *xb, MsgUnitArr *msgUnitArr, XmlBlasterException *exception)

Definition at line 37 of file XmlBlasterConnectionUnparsed.h.

typedef void( * ) XmlBlasterConnectionUnparsedPublishOneway(XmlBlasterConnectionUnparsed *xb, MsgUnitArr *msgUnitArr, XmlBlasterException *exception)

Definition at line 38 of file XmlBlasterConnectionUnparsed.h.

typedef void( * ) XmlBlasterConnectionUnparsedShutdown(XmlBlasterConnectionUnparsed *xb)

Definition at line 45 of file XmlBlasterConnectionUnparsed.h.

typedef char*( * ) XmlBlasterConnectionUnparsedSubscribe(XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)

Definition at line 39 of file XmlBlasterConnectionUnparsed.h.

typedef QosArr*( * ) XmlBlasterConnectionUnparsedUnSubscribe(XmlBlasterConnectionUnparsed *xb, const char *const key, const char *qos, XmlBlasterException *exception)

Definition at line 40 of file XmlBlasterConnectionUnparsed.h.


Function Documentation

void freeXmlBlasterConnectionUnparsed ( XmlBlasterConnectionUnparsed **  xmlBlasterAccess  ) 

Free your instance after accessing xmlBlaster.

After freeing *xmlBlasterAccess is set to null Call example: freeXmlBlasterConnectionUnparsed(&xa->connectionP);

Definition at line 105 of file XmlBlasterConnectionUnparsed.c.

References freeProperties(), XmlBlasterConnectionUnparsedStruct::log, XmlBlasterConnectionUnparsedStruct::logLevel, XmlBlasterConnectionUnparsedStruct::logUserP, XmlBlasterConnectionUnparsedStruct::props, xmlBlaster_endZlibReader(), xmlBlaster_endZlibWriter(), XMLBLASTER_LOG_TRACE, xmlBlasterConnectionShutdown(), XmlBlasterConnectionUnparsedStruct::zlibReadBuf, and XmlBlasterConnectionUnparsedStruct::zlibWriteBuf.

Referenced by freeXmlBlasterAccessUnparsed(), getXmlBlasterConnectionUnparsed(), and initialize().

Here is the call graph for this function:

XmlBlasterConnectionUnparsed* getXmlBlasterConnectionUnparsed ( int  argc,
const char *const *  argv 
)

Get an instance of this to get xmlBlaster access.

Every call creates a new and independent client access instance to xmlBlaster

Referenced by initialize().

const char* xmlBlasterConnectionUnparsedUsage (  ) 

Help usage.

Definition at line 514 of file XmlBlasterConnectionUnparsed.c.

References strncat0(), and strncpy0().

Referenced by xmlBlasterAccessUnparsedUsage().

Here is the call graph for this function: