Apama 10.3.1 | 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-2019 | 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.