public class RealBasicEventStream extends Object implements ObjectStream<Event>
| Constructor and Description |
|---|
RealBasicEventStream(ObjectStream<String> ds) |
public RealBasicEventStream(ObjectStream<String> ds)
public Event read() throws IOException
ObjectStreamread in interface ObjectStream<Event>IOException - if there is an error during readingpublic void reset()
throws IOException,
UnsupportedOperationException
ObjectStreamreset in interface ObjectStream<Event>IOException - if there is an error during reseting the streamUnsupportedOperationExceptionpublic void close()
throws IOException
ObjectStreamObjectStream and releases all allocated
resources. After close was called its not allowed to call
read or reset.close in interface AutoCloseableclose in interface ObjectStream<Event>IOException - if there is an error during closing the streamCopyright © 2015 The Apache Software Foundation. All rights reserved.