Interface EventEmitter.Callback

All Known Subinterfaces:
CountingCallback
All Known Implementing Classes:
CountingCallbackImpl, DataCallback, ErrorCallback, HttpReplyCallback, ReboundCallback, SnapshotCallback, UpdateKeysCallback
Enclosing class:
EventEmitter

public static interface EventEmitter.Callback
This interface defines a callback to pass errors, data and snapshots to its callee.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Invoked to pass errors, data and snapshots asynchronously.
  • Method Details

    • receive

      void receive(Object data)
      Invoked to pass errors, data and snapshots asynchronously.
      Parameters:
      data - data to be passed