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 static Logger logger
           
private  HttpResponse response
           
private  boolean streamAlive
           
 
Constructor Summary
StatusStream(HttpResponse response)
           
StatusStream(java.io.InputStream stream)
           
 
Method Summary
 void close()
           
 void next(StatusListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static final Logger logger

streamAlive

private boolean streamAlive

br

private java.io.BufferedReader br

is

private java.io.InputStream is

response

private HttpResponse response
Constructor Detail

StatusStream

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

StatusStream

StatusStream(HttpResponse response)
       throws java.io.IOException
Throws:
java.io.IOException
Method Detail

next

public void next(StatusListener listener)
          throws TwitterException
Throws:
TwitterException

close

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