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

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
tag The tag for this event as a String
dom The DOM document 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,
Document  dom,
long  TTL,
boolean  isPersistent 
) [static]

Creates an nConsumeEvent object based on the parameters supplied.

Parameters:
props The nEventProperties associated with this event
dom The DOM document 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,
boolean  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 ( nEventProperties  props,
byte[]  data,
long  TTL,
boolean  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,
byte[]  data,
boolean  isDom,
long  TTL,
boolean  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
isDom flag to show whether the data is an encoded DOM
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,
boolean  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,
boolean  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