twitter4j
Interface UserStream


public interface UserStream

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

Method Summary
 void close()
           
 void next(twitter4j.StreamListener[] listeners)
           
 void next(UserStreamListener listener)
          Reads next element from this stream.
 void onException(Exception ex)
           
 

Method Detail

next

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

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

close

void close()
           throws IOException
Throws:
IOException

next

void next(twitter4j.StreamListener[] listeners)
          throws twitter4j.TwitterException
Throws:
twitter4j.TwitterException

onException

void onException(Exception ex)


Copyright © 2012. All Rights Reserved.