org.apache.camel.component.twitter.consumer
Class Twitter4JConsumer

java.lang.Object
  extended by org.apache.camel.component.twitter.consumer.Twitter4JConsumer
Direct Known Subclasses:
DirectMessageConsumer, HomeConsumer, MentionsConsumer, PublicConsumer, RetweetsConsumer, SearchConsumer, StreamingConsumer, UserConsumer

public abstract class Twitter4JConsumer
extends Object


Field Summary
protected  long lastId
           
 
Constructor Summary
Twitter4JConsumer()
           
 
Method Summary
protected  void checkLastId(long newId)
           
abstract  List<? extends Serializable> directConsume()
           
abstract  List<? extends Serializable> pollConsume()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lastId

protected long lastId
Constructor Detail

Twitter4JConsumer

public Twitter4JConsumer()
Method Detail

checkLastId

protected void checkLastId(long newId)

pollConsume

public abstract List<? extends Serializable> pollConsume()
                                                  throws twitter4j.TwitterException
Throws:
twitter4j.TwitterException

directConsume

public abstract List<? extends Serializable> directConsume()
                                                    throws twitter4j.TwitterException
Throws:
twitter4j.TwitterException


Apache CAMEL