twitter4j
Interface UserStream

All Superinterfaces:
StatusStream
All Known Implementing Classes:
StatusStreamImpl

public interface UserStream
extends StatusStream

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

Method Summary
 void close()
           
 void next(UserStreamListener listener)
          Reads next element from this stream.
 
Methods inherited from interface twitter4j.StatusStream
next
 

Method Detail

next

void next(UserStreamListener listener)
          throws TwitterException
Reads next element from this stream.

Parameters:
listener - a UserStreamListener 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
Specified by:
close in interface StatusStream
Throws:
java.io.IOException