twitter4j
Class StatusStream

java.lang.Object
  extended by twitter4j.StatusStream

public class StatusStream
extends java.lang.Object

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

Field Summary
private  java.io.BufferedReader br
           
private  java.io.InputStream is
           
private  twitter4j.http.Response response
           
private  boolean streamAlive
           
 
Constructor Summary
StatusStream(java.io.InputStream stream)
           
StatusStream(twitter4j.http.Response response)
           
 
Method Summary
 void close()
           
 Status next()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

streamAlive

private boolean streamAlive

br

private java.io.BufferedReader br

is

private java.io.InputStream is

response

private twitter4j.http.Response response
Constructor Detail

StatusStream

StatusStream(java.io.InputStream stream)
       throws java.io.IOException
Throws:
java.io.IOException

StatusStream

StatusStream(twitter4j.http.Response response)
       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

next

public Status next()
            throws TwitterException
Throws:
TwitterException

close

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