Class Index | File Index

Classes


Class Event.DataEvent


Extends Event.AbstractDataEvent.
Represents an event with a data object payload
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild\stjsapi/src/main/webapp/js\event\DataEvent.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Event.DataEvent(eventId)
Creates a new data event
Method Summary
Method Attributes Method Name and Description
Object 
Returns the data payload of the event to be used in an acknowlegement.
Object 
Gets the data payload of the event
void 
setData(data)
Sets data payload of the event
Methods borrowed from class Event.AbstractDataEvent:
getCorrelationId, getDurable, getEventGroupId, getEventId, getEventKey, getEventProperty, getEventSource, getForwardTo, getReplyTo, getSecurityAssertionToken, getTimestamp, isProtected, protect, resetReplyTo, setCorrelationId, setDurable, setEventGroupId, setEventKey, setEventProperty, setForwardTo, setReplyTo, setSecurityAssertionToken, unprotect
Class Detail
Event.DataEvent(eventId)
Creates a new data event
Parameters:
{String} eventId
The id of the data event to be created
Method Detail
{Object} getAcknowledgementData()
Returns the data payload of the event to be used in an acknowlegement.
Returns:
The data payload for an acknowlegement event

{Object} getData()
Gets the data payload of the event
Returns:
The event data

setData(data)
Sets data payload of the event
Parameters:
{Object} data
The data to be set

Copyright © 2015-2021 StreamScape Technologies. All rights reserved.