org.apache.camel.component.twitter.consumer.streaming
Class SampleConsumer
java.lang.Object
org.apache.camel.component.twitter.consumer.Twitter4JConsumer
org.apache.camel.component.twitter.consumer.streaming.StreamingConsumer
org.apache.camel.component.twitter.consumer.streaming.SampleConsumer
- All Implemented Interfaces:
- twitter4j.StatusListener
public class SampleConsumer
- extends StreamingConsumer
Consumes the sample stream
Methods inherited from class org.apache.camel.component.twitter.consumer.streaming.StreamingConsumer |
directConsume, doStart, doStop, onDeletionNotice, onException, onScrubGeo, onStatus, onTrackLimitationNotice, pollConsume, registerTweetListener, unregisterTweetListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SampleConsumer
public SampleConsumer(TwitterEndpoint te)
startStreaming
protected void startStreaming()
- Specified by:
startStreaming
in class StreamingConsumer
onStallWarning
public void onStallWarning(twitter4j.StallWarning stallWarning)
Apache Camel