com.apama.event
Interface EventSupplier


public interface EventSupplier

An EventSupplier represents the resources created by the Engine to service a connection to an external sink of events. It filters the event output of the Engine by delivering only the events emitted on a particular set of channels. An EventSupplier passes events to an EventConsumer.


Method Summary
 void disconnect()
          Disconnect the EventSupplier from its consumer and release its resources.
 void disconnect(boolean validConnection)
          Disconnect the EventSupplier from its consumer and release its resources.
 

Method Detail

disconnect

void disconnect()
                throws EngineException
Disconnect the EventSupplier from its consumer and release its resources. This method must always be implemented by simply calling disconnect(true).

Throws:
EngineException

disconnect

void disconnect(boolean validConnection)
                throws EngineException
Disconnect the EventSupplier from its consumer and release its resources. If the validConnection parameter is false, the implementation may choose not to make any remote calls but simply clean up local resources.

Parameters:
validConnection - flag that indicates if a valid connection to a correlator exists.
Throws:
EngineException


Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG