public interface EventStream
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the underlying connection to the current stream.
|
void |
close()
Close the current stream.
|
boolean |
isOpen()
Whether or not the stream is currently open.
|
Event |
nextEvent()
The next event in this event stream.
|
Event nextEvent() throws IOException
IOException - general i/o related errorsboolean isOpen()
void close()
throws IOException
IOException - can throw exception if internal buffer not closed properlyvoid cancel()