Package com.smartgwt.client.callbacks

# Interface EventErrorCallback

public interface EventErrorCallback

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `execute(EventStreamData data, int nEvents)`
  A `Callback` called to report `event errors` from an `active` `EventStream` to a listener.

- ## Method Details

  - ### execute

    void execute(EventStreamData data, int nEvents)
    A `Callback` called to report `event errors` from an `active` `EventStream` to a listener.
    Parameters:
      `data` - A JavaScript object representing the current state of the stream; `events` will be an array of all retained `EventStreamEvent`s 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`.
    See Also:
      - `EventStream.setMaxSize(java.lang.Integer)`
      - `EventStream.setEventErrorListener(com.smartgwt.client.callbacks.EventErrorCallback)`