Apama API Reference for .NET
10.0.0.2
|
The old-style IEventListener specifies an interface that classes can implement to receive events from an EventServiceChannel (see also HandleEventCallback). More...
Inherited by Apama.Event.EventListenerAdapter.
Public Member Functions | |
void | HandleEvent (Event evt) |
Callback method that is called when a new Event is received. More... | |
void | HandleEvents (Event[] events) |
Callback method that is called when a new batch of Events is received. More... | |
The old-style IEventListener specifies an interface that classes can implement to receive events from an EventServiceChannel (see also HandleEventCallback).
HandleEventCallback provides a better and more idiomatic way to do event listening.
void Apama.Event.IEventListener.HandleEvent | ( | Event | evt | ) |
Callback method that is called when a new Event is received.
evt | The received Event. |
Implemented in Apama.Event.EventListenerAdapter.
void Apama.Event.IEventListener.HandleEvents | ( | Event[] | events | ) |
Callback method that is called when a new batch of Events is received.
events | The received array of Events. |
Implemented in Apama.Event.EventListenerAdapter.