This class is used to facilitate creation of nConsumeEvent objects.
More...
#include <nConsumeEventFactory.h>
|
static nConsumeEvent * | create (unsigned char *tag, int tagLength, nEventProperties *pProps, unsigned char *data, int dataLength, longlong TTL, bool isPersistent) |
| Creates an nConsumeEvent object based on the parameters supplied. More...
|
|
static nConsumeEvent * | create (unsigned char *tag, int tagLength, unsigned char *data, int dataLength, longlong TTL, bool isPersistent) |
| Creates an nConsumeEvent object based on the parameters supplied. More...
|
|
static nConsumeEvent * | create (nEventProperties *pProps, std::string &tag, longlong TTL, bool isPersistent) |
| Creates an nConsumeEvent object based on the parameters supplied. More...
|
|
static nConsumeEvent * | create (std::string &tag, nEventProperties *pProps, unsigned char *data, int dataLength, longlong TTL, bool isPersistent) |
| Creates an nConsumeEvent object based on the parameters supplied. More...
|
|
This class is used to facilitate creation of nConsumeEvent objects.
static nConsumeEvent* com::pcbsys::nirvana::client::nConsumeEventFactory::create |
( |
unsigned char * |
tag, |
|
|
int |
tagLength, |
|
|
nEventProperties * |
pProps, |
|
|
unsigned char * |
data, |
|
|
int |
dataLength, |
|
|
longlong |
TTL, |
|
|
bool |
isPersistent |
|
) |
| |
|
static |
Creates an nConsumeEvent object based on the parameters supplied.
- Parameters
-
tag | The tag for this event |
*pProps | The nEventProperties associated with this event |
data | The data for this event |
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 |
- Returns
- the newly created nConsumeEvent object
static nConsumeEvent* com::pcbsys::nirvana::client::nConsumeEventFactory::create |
( |
unsigned char * |
tag, |
|
|
int |
tagLength, |
|
|
unsigned char * |
data, |
|
|
int |
dataLength, |
|
|
longlong |
TTL, |
|
|
bool |
isPersistent |
|
) |
| |
|
static |
Creates an nConsumeEvent object based on the parameters supplied.
- Parameters
-
tag | The tag for this event |
tagLength | the length of the tag |
data | The data for this event |
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 |
- Returns
- the newly created nConsumeEvent object
static nConsumeEvent* com::pcbsys::nirvana::client::nConsumeEventFactory::create |
( |
nEventProperties * |
pProps, |
|
|
std::string & |
tag, |
|
|
longlong |
TTL, |
|
|
bool |
isPersistent |
|
) |
| |
|
static |
Creates an nConsumeEvent object based on the parameters supplied.
- Parameters
-
*pProps | The nEventProperties associated with this event |
tag | The tag for this event |
TTL | the Time To Live for this event |
isPersistent | flag to show whether the event is persistent of not |
- Returns
- the newly created nConsumeEvent object
static nConsumeEvent* com::pcbsys::nirvana::client::nConsumeEventFactory::create |
( |
std::string & |
tag, |
|
|
nEventProperties * |
pProps, |
|
|
unsigned char * |
data, |
|
|
int |
dataLength, |
|
|
longlong |
TTL, |
|
|
bool |
isPersistent |
|
) |
| |
|
static |
Creates an nConsumeEvent object based on the parameters supplied.
- Parameters
-
tag | The tag for this event |
pProps | event properties |
data | The data for this event |
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 |
- Returns
- the newly created nConsumeEvent object