public final class ThreadedStreamConsumer extends Object implements EventHandler<Event>, Closeable
| Constructor and Description |
|---|
ThreadedStreamConsumer(EventHandler<Event> target) |
public ThreadedStreamConsumer(EventHandler<Event> target)
public void handleEvent(@Nonnull Event event)
handleEvent in interface EventHandler<Event>public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionCopyright © 2004–2020 The Apache Software Foundation. All rights reserved.