#include <helper.h>
Data Fields | |
XmlBlasterReadFromSocketFunc | readFromSocketFuncP |
void * | userP |
XmlBlasterNumReadFunc | numReadFuncP |
You can register a function pointer listener to be informed about the socket read progress. | |
void * | numReadUserP |
This will be looped through to numReadFuncP. |
Definition at line 42 of file helper.h.
Definition at line 43 of file helper.h.
Referenced by getCallbackServerUnparsed(), getXmlBlasterConnectionUnparsed(), initConnection(), initialize(), and parseSocketData().
Definition at line 44 of file helper.h.
Referenced by getCallbackServerUnparsed(), getXmlBlasterConnectionUnparsed(), initialize(), and parseSocketData().
You can register a function pointer listener to be informed about the socket read progress.
The function will be called than and again during reading the socket with the currently read bytes. Example:
static void progress(void *numReadUserP, const size_t currBytesRead, const size_t nbytes) { printf("currBytesRead=%ld nbytes=%ld\n", (long)currBytesRead, (long)nbytes); }The pointer may remain NULL.
Definition at line 57 of file helper.h.
Referenced by getCallbackServerUnparsed(), main(), parseSocketData(), shutdownCallbackServer(), and xmlBlasterUnmanagedCERegisterProgressListener().
This will be looped through to numReadFuncP.
Definition at line 61 of file helper.h.
Referenced by getCallbackServerUnparsed(), main(), parseSocketData(), and xmlBlasterUnmanagedCERegisterProgressListener().