- com
- pcbsys
- nirvana
- client
- nProtobufEventFactory
This class is used to facilitate creation of nConsumeEvent objects. More...
#include <nProtobufEventFactory.h>
Static Public Member Functions | |
static nProtobufEvent * | create (unsigned char *tag, int tagLength, unsigned char *data, int dataLength, longlong TTL, bool isPersistent) |
Creates an nProtobufEvent object based on the parameters supplied. More... | |
This class is used to facilitate creation of nConsumeEvent objects.
|
static |
Creates an nProtobufEvent object based on the parameters supplied.
tag | The tag for this event as a unsigned char* |
tagLength | The length of the tag |
data | The serialized message as a unsigned char* |
dataLength | The length of the data |
TTL | the Time To Live for this event |
isPersistent | flag to show whether the event is persistent of not |