public interface StatusStream extends StreamImplementation
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
next(StatusListener listener)
Reads next status from this stream.
|
next, onException
void next(StatusListener listener) throws TwitterException
listener
- a StatusListener implementationTwitterException
- when the end of the stream has been reached.java.lang.IllegalStateException
- when the end of the stream had been reached.void close() throws java.io.IOException
close
in interface StreamImplementation
java.io.IOException