Classes Files

com::wombat::mama::MamaQueueEventCallback

More…

Public Functions

  Name
void onEvent(MamaQueue queue, Object closure)

Detailed Description

class com::wombat::mama::MamaQueueEventCallback;

Definition of the callback method for when a user added event fires. Concrete instances of this interface are registered with an event queue using the MamaQueue.enqueueEvent(). Currently only support by MAMA JNI using Wombat Middleware.

Public Functions Documentation

function onEvent

void onEvent(
    MamaQueue queue,
    Object closure
)

Parameters:

  • queue The MamaQueue on which the event was enqueued.
  • closure The user specified data associated with this event.

Invoked when a user event, added by MamaQueue.enqueueEvent() fires.


Updated on 2023-03-31 at 15:29:43 +0100