com.pcbsys.nirvana.client.nConsumeEventFactory Class Reference

This class is used to facilitate creation of nConsumeEvent objects. More...


Static Public Member Functions

static nConsumeEvent create (byte[] tag, nEventProperties props, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied.
static nConsumeEvent create (nEventProperties props, string tag, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied.
static nConsumeEvent create (nEventProperties props, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied.
static nConsumeEvent create (string tag, nEventProperties props, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied.
static nConsumeEvent create (string tag, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied.
static nConsumeEvent create (byte[] tag, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied.

Detailed Description

This class is used to facilitate creation of nConsumeEvent objects.

Member Function Documentation

static nConsumeEvent com.pcbsys.nirvana.client.nConsumeEventFactory.create ( byte[]  tag,
nEventProperties  props,
byte[]  data,
long  TTL,
bool  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
tag The tag for this event
props The nEventProperties associated with this event
data The data 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 ( nEventProperties  props,
string  tag,
long  TTL,
bool  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
props 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 ( nEventProperties  props,
byte[]  data,
long  TTL,
bool  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
props The nEventProperties associated with this event
data The data 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 ( string  tag,
nEventProperties  props,
byte[]  data,
long  TTL,
bool  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
tag The tag for this event as a String
props The nEventProperties associated with this event
data The data 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 ( string  tag,
byte[]  data,
long  TTL,
bool  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
tag The tag for this event as a String
data The data for this event. Assumed to be non-DOM 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 ( byte[]  tag,
byte[]  data,
long  TTL,
bool  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
tag The tag for this event as a byte[]
data The data 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