Apama Documentation : Developing Apama Applications : Developing Apama Applications in EPL : Working with Streams and Stream Queries : Using output from streams : Listener variables and streams
Listener variables and streams
Like event listeners, you can assign a stream listener to a listener variable. A stream listener exists until one of the following happens:
*The monitor instance that contains the stream listener is terminated
*The stream or streams the listener refers to are terminated
If you do not want to wait for one of the above to occur, you can stop a stream listener by calling the quit() method on a listener variable that refers to it. Note that in many cases this will also terminate the stream that is feeding the stream listener. See Stream network lifetime.
Copyright © 2013-2016 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback