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(java.lang.Exception ex)
           
 

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
Throws:
java.io.IOException

next

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

onException

void onException(java.lang.Exception ex)


Copyright © 2011. All Rights Reserved.