Provides access to fundamental information about subscription events relating to changes in data, such as the subject and the type of event that has occurred.
In application code, use the derived interfaces that related to specific types of data, rather than this base-level interface. For example caplin.streamlink.RecordType1Event interface is derived from caplin.streamlink.DataEvent; it provides information about changes to a subscribed subject of type record, including the fields that have changed and their new values.
Attributes | Name and Description |
---|---|
|
caplin.streamlink.DataEvent()
|
Attributes | Name and Description |
---|---|
|
String
getSubject()
Returns the subject to which the event relates. |
|
boolean
isImage()
Returns whether this was an image event or an update event. |
►
caplin.streamlink.DataEvent()
►
String
getSubject()
Returns the subject to which the event relates.
►
boolean
isImage()
Returns whether this was an image event or an update event.
If this method returns true, all data for the subject is contained within this event; you should therefore clear the application's caches of any current data for the subject of this event before refreshing them with the new data.