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, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied More...
 
static nConsumeEvent create (string tag, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied More...
 
static nConsumeEvent create (string tag, nEventProperties props, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied More...
 
static nConsumeEvent create (nEventProperties props, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied More...
 
static nConsumeEvent create (nEventProperties props, string tag, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied More...
 
static nConsumeEvent create (byte[] tag, nEventProperties props, byte[] data, long TTL, bool isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied More...
 

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,
byte[]  data,
long  TTL,
bool  isPersistent 
)
static

Creates an nConsumeEvent object based on the parameters supplied

Parameters
tagThe tag for this event as a byte[]
dataThe data for this event
TTLthe Time To Live for this event
isPersistentflag 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
tagThe tag for this event as a String
dataThe data for this event. Assumed to be non-DOM data
TTLthe Time To Live for this event
isPersistentflag 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
tagThe tag for this event as a String
propsThe nEventProperties associated with this event
dataThe data for this event
TTLthe Time To Live for this event
isPersistentflag 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
propsThe nEventProperties associated with this event
dataThe data for this event
TTLthe Time To Live for this event
isPersistentflag 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
propsThe nEventProperties associated with this event
tagThe tag for this event
TTLthe Time To Live for this event
isPersistentflag 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,
nEventProperties  props,
byte[]  data,
long  TTL,
bool  isPersistent 
)
static

Creates an nConsumeEvent object based on the parameters supplied

Parameters
tagThe tag for this event
propsThe nEventProperties associated with this event
dataThe data for this event
TTLthe Time To Live for this event
isPersistentflag to show whether the event is persistent of not
Returns
the newly created nConsumeEvent object