Apama API Reference for .NET  9.10.0.4
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Apama.Event.IEventListener Interface Reference

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...
 

Detailed Description

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.

Member Function Documentation

void Apama.Event.IEventListener.HandleEvent ( Event  evt)

Callback method that is called when a new Event is received.

Parameters
evtThe 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.

Parameters
eventsThe received array of Events.

Implemented in Apama.Event.EventListenerAdapter.

Submit a bug or feature
Copyright (c) 2013-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.