T - the message typepublic final class Pull2Push<T> extends Object implements Runnable, AutoCloseable
| Constructor and Description | 
|---|
Pull2Push(EventHandler<T> output)  | 
public Pull2Push(EventHandler<T> output)
output - the EventHandler that receives the messages from this
               Pull2Push.public final void register(EventSource<T> source)
source - The source that will be added to the queue of this
               Pull2Pushpublic void close() throws Exception
close in interface AutoCloseableExceptionCopyright © 2015 The Apache Software Foundation. All rights reserved.