public interface EventErrorCallback
| Modifier and Type | Method and Description |
|---|---|
void |
execute(EventStreamData data,
int nEvents)
|
void execute(EventStreamData data, int nEvents)
data - A JavaScript object representing the current state of the stream; events will be an array of all
retained EventStreamEvents captured by the stream
since the last time the callback was invoked, oldest first. The last array element should
be the EventStreamEvent that triggered this call and
have an errorTrace.nEvents - The number of events captured by the stream since the last time the callback was invoked. Compare
with EventStreamData.nEvents.EventStream.setMaxSize(java.lang.Integer),
EventStream.setEventErrorListener(com.smartgwt.client.callbacks.EventErrorCallback)