#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <XmlBlasterAccessUnparsed.h>
Include dependency graph for HelloWorldUdp.c:
Go to the source code of this file.
Functions | |
static int | myUpdate (MsgUnitArr *msgUnitArr, void *userData, XmlBlasterException *exception) |
Here we receive the callback messages from xmlBlaster. | |
int | main (int argc, char **argv) |
Invoke: HelloWorldUdp -logLevel TRACE. |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Invoke: HelloWorldUdp -logLevel TRACE.
Definition at line 46 of file HelloWorldUdp.c.
References XmlBlasterAccessUnparsed::callbackP, XmlBlasterAccessUnparsed::connect, MsgUnit::content, MsgUnit::contentLen, XmlBlasterAccessUnparsed::disconnect, XmlBlasterAccessUnparsed::erase, ExceptionStruct::errorCode, freeMsgUnitArrInternal(), freeQosArr(), freeXmlBlasterAccessUnparsed(), getXmlBlasterAccessUnparsed(), getXmlBlasterVersion(), CallbackServerUnparsedStruct::hostCB, XmlBlasterAccessUnparsed::initialize, MsgUnit::key, QosStructArr::len, MsgUnitStructArr::len, ExceptionStruct::message, MsgUnitStructArr::msgUnitArr, myUpdate(), CallbackServerUnparsedStruct::portCB, XmlBlasterAccessUnparsed::publishOneway, MsgUnit::qos, QosStructArr::qosArr, sleepMillis(), strcpyAlloc(), XmlBlasterAccessUnparsed::subscribe, XMLBLASTER_MAX_USAGE_LEN, xmlBlasterAccessUnparsedUsage(), and xmlBlasterFree().
Here is the call graph for this function:
static int myUpdate | ( | MsgUnitArr * | msgUnitArr, | |
void * | userData, | |||
XmlBlasterException * | exception | |||
) | [static] |
Here we receive the callback messages from xmlBlaster.
msgUnitArr | The received messages | |
userData | Is the corresponding XmlBlasterAccessUnparsed * pointer | |
exception | An OUT parameter to transport back an exception |
Definition at line 25 of file HelloWorldUdp.c.
References MsgUnitStructArr::len, messageUnitToXml(), MsgUnitStructArr::msgUnitArr, and xmlBlasterFree().
Here is the call graph for this function: