twitter4j
Interface StatusStream

All Known Implementing Classes:
StatusStreamImpl

public interface StatusStream

Since:
Twitter4J 2.0.4
Author:
Yusuke Yamamoto - yusuke at mac.com

Method Summary
 void close()
           
 void next(StatusListener listener)
          Reads next status from this stream.
 

Method Detail

next

void next(StatusListener listener)
          throws TwitterException
Reads next status from this stream.

Parameters:
listener - a StatusListener implementation
Throws:
TwitterException - when the end of the stream has been reached.
java.lang.IllegalStateException - when the end of the stream had been reached.

close

void close()
           throws java.io.IOException
Throws:
java.io.IOException