demo/c/socket/Get.c File Reference

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <XmlBlasterAccessUnparsed.h>

Include dependency graph for Get.c:

Go to the source code of this file.


int main (int argc, char **argv)
 Demo client to synchronous get messages.

Function Documentation

int main ( int  argc,
char **  argv 

Demo client to synchronous get messages.

Not all GetQos functionality is implemented.

Access all messages: Get -xpath //key

Access all user names: Get -oid __sys__UserList

Access free memory: Get -oid __cmd:?freeMem

Access silently, useful for scripting: Get -oid __cmd:?freeMem -verbose false -sleep 0 -dumpRawContent true -logLevel WARN Get -oid __cmd:?topicList -verbose false -sleep 0 -dumpRawContent true -logLevel WARN Get -oid __cmd:?clientList -verbose false -sleep 0 -dumpRawContent true -logLevel WARN

Definition at line 35 of file Get.c.

References XmlBlasterAccessUnparsed::connect, XmlBlasterAccessUnparsed::disconnect, ExceptionStruct::errorCode, freeMsgUnitArr(), freeXmlBlasterAccessUnparsed(), XmlBlasterAccessUnparsed::get, PropertiesStruct::getBool, PropertiesStruct::getInt, PropertiesStruct::getLong, PropertiesStruct::getString, getXmlBlasterAccessUnparsed(), getXmlBlasterVersion(), XmlBlasterAccessUnparsed::initialize, ExceptionStruct::message, messageUnitToXmlLimited(), XmlBlasterAccessUnparsed::props, sleepMillis(), strFromBlobAlloc(), verbose, XMLBLASTER_MAX_USAGE_LEN, xmlBlasterAccessUnparsedUsage(), and xmlBlasterFree().

Here is the call graph for this function: