Class Index | File Index

Classes


Class Event.BytesEvent

Represents an event with a binary data payload
Defined in: <D:\Programs\Neeve\Projects\NeeveBuild16\stjsapi/src/main/webapp/js\event\BytesEvent.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Event.BytesEvent(eventId)
Creates a new XML event
Method Summary
Method Attributes Method Name and Description
Object 
Returns the base64-encoded payload of the event to be used in an acknowlegement.
String 
Gets the binary payload of the event
void 
setBytes(base64Data)
Sets the binary payload of the event
Class Detail
Event.BytesEvent(eventId)
Creates a new XML event
Parameters:
{String} eventId
The id of the bytes event to be created
Method Detail
{Object} getAcknowledgementData()
Returns the base64-encoded payload of the event to be used in an acknowlegement.
Returns:
The base64-encoded payload for an acknowlegement event

{String} getBytes()
Gets the binary payload of the event
Returns:
The base64-encoded binary data stored in the event

setBytes(base64Data)
Sets the binary payload of the event
Parameters:
{String} base64Data
The base64-encoded binary data to be set as a payload

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