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, boolean isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied. More...
 
static nConsumeEvent create (String tag, byte[] data, long TTL, boolean isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied. More...
 
static nConsumeEvent create (String tag, byte[] data, boolean isDom, long TTL, boolean isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied. More...
 
static nConsumeEvent create (nEventProperties props, byte[] data, long TTL, boolean isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied. More...
 
static nConsumeEvent create (String tag, nEventProperties props, byte[] data, long TTL, boolean isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied. More...
 
static nConsumeEvent create (nEventProperties props, Document dom, long TTL, boolean isPersistent)
 Creates an nConsumeEvent object based on the parameters supplied. More...
 
static nConsumeEvent create (String tag, Document dom, long TTL, boolean 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,
boolean  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,
boolean  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,
byte[]  data,
boolean  isDom,
long  TTL,
boolean  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
isDomflag to show whether the data is an encoded DOM
TTLthe Time To Live for this event
isPersistentflag to show whether the event is persistent of not
Returns
the newly created nConsumeEvent object
Deprecated:
XML based documents are deprecated as of version 10.2
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
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 ( String  tag,
nEventProperties  props,
byte[]  data,
long  TTL,
boolean  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,
Document  dom,
long  TTL,
boolean  isPersistent 
)
static

Creates an nConsumeEvent object based on the parameters supplied.

Parameters
propsThe nEventProperties associated with this event
domThe DOM document 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
Deprecated:
XML based documents are deprecated as of version 10.2
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
tagThe tag for this event as a String
domThe DOM document 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
Deprecated:
XML based documents are deprecated as of version 10.2