SocketDataHolder Struct Reference

Helper struct to hold all necessary informations. More...

#include <xmlBlasterSocket.h>

Collaboration diagram for SocketDataHolder:

Collaboration graph
[legend]

Data Fields

size_t msgLen
int checksum
int compressed
char type
 XMLBLASTER_MSG_TYPE.
char version
char requestId [256]
char methodName [20]
char secretSessionId [256]
size_t dataLenUncompressed
XmlBlasterBlob blob
 blob.data is allocated with malloc, you need to free() it yourself, is compressed if marked as such

Detailed Description

Helper struct to hold all necessary informations.

Definition at line 63 of file xmlBlasterSocket.h.


Field Documentation

size_t SocketDataHolder::msgLen

Definition at line 64 of file xmlBlasterSocket.h.

Referenced by parseSocketData().

int SocketDataHolder::checksum

Definition at line 65 of file xmlBlasterSocket.h.

int SocketDataHolder::compressed

Definition at line 66 of file xmlBlasterSocket.h.

char SocketDataHolder::type

XMLBLASTER_MSG_TYPE.

Definition at line 67 of file xmlBlasterSocket.h.

Referenced by handleMessage(), parseSocketData(), and responseEvent().

char SocketDataHolder::version

Definition at line 68 of file xmlBlasterSocket.h.

Referenced by parseSocketData().

char SocketDataHolder::requestId[256]

Definition at line 69 of file xmlBlasterSocket.h.

Referenced by handleMessage(), parseSocketData(), responseEvent(), sendResponse(), sendResponseOrException(), and sendXmlBlasterException().

char SocketDataHolder::methodName[20]

Definition at line 70 of file xmlBlasterSocket.h.

Referenced by handleMessage(), parseSocketData(), sendResponse(), sendResponseOrException(), and sendXmlBlasterException().

char SocketDataHolder::secretSessionId[256]

Definition at line 71 of file xmlBlasterSocket.h.

Referenced by parseSocketData(), sendResponse(), and sendXmlBlasterException().

size_t SocketDataHolder::dataLenUncompressed

Definition at line 72 of file xmlBlasterSocket.h.

Referenced by parseSocketData().

XmlBlasterBlob SocketDataHolder::blob

blob.data is allocated with malloc, you need to free() it yourself, is compressed if marked as such

Definition at line 73 of file xmlBlasterSocket.h.

Referenced by handleMessage(), parseSocketData(), responseEvent(), xmlBlasterConnect(), xmlBlasterDisconnect(), xmlBlasterErase(), xmlBlasterGet(), xmlBlasterPing(), xmlBlasterPublish(), xmlBlasterSubscribe(), and xmlBlasterUnSubscribe().


The documentation for this struct was generated from the following file: