twitter4j
Class TwitterStreamFactory
java.lang.Object
twitter4j.TwitterFactoryBase<TwitterStream>
twitter4j.TwitterStreamFactory
- All Implemented Interfaces:
- java.io.Serializable
public class TwitterStreamFactory
- extends TwitterFactoryBase<TwitterStream>
A factory class for TwitterFactory.
An instance of this class is completely thread safe and can be re-used and used concurrently.
Note that TwitterStream is NOT compatible with Google App Engine as GAE is not capable of handling requests longer than 30 seconds.
- Since:
- Twitter4J 2.1.0
- Author:
- Yusuke Yamamoto - yusuke at mac.com
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
listener
private StatusListener listener
TwitterStreamFactory
public TwitterStreamFactory()
-
TwitterStreamFactory
public TwitterStreamFactory(StatusListener listener)
-
TwitterStreamFactory
TwitterStreamFactory(Configuration conf)
-
TwitterStreamFactory
public TwitterStreamFactory(java.lang.String configTreePath)
-
TwitterStreamFactory
public TwitterStreamFactory(java.lang.String configTreePath,
StatusListener listener)
-
getInstance
protected TwitterStream getInstance(Configuration conf,
Authorization auth)
-
- Specified by:
getInstance
in class TwitterFactoryBase<TwitterStream>