public class

FilteredStreamMessageSource

extends AbstractListeningMessageProcessor<O>
implements Runnable FlowConstructAware MuleContextAware Startable Stoppable MessageSource
java.lang.Object
   ↳ org.mule.twitter.processors.AbstractExpressionEvaluator
     ↳ org.mule.twitter.processors.AbstractMessageProcessor<O>
       ↳ org.mule.twitter.processors.AbstractListeningMessageProcessor<O>
         ↳ org.mule.twitter.sources.FilteredStreamMessageSource

Class Overview

FilteredStreamMessageSource wraps filteredStream(int, java.util.List, java.util.List, org.mule.api.callback.SourceCallback) method in TwitterConnector as a message source capable of generating Mule events. The POJO's method is invoked in its own thread.

Summary

[Expand]
Inherited Constants
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
Fields
protected int _countType
protected List<String> _keywordsType
protected List<Long> _userIdsType
protected Object count
protected Object keywords
private Thread thread Thread under which this message source will execute
protected Object userIds
[Expand]
Inherited Fields
From class org.mule.twitter.processors.AbstractListeningMessageProcessor
From class org.mule.twitter.processors.AbstractMessageProcessor
Public Constructors
FilteredStreamMessageSource()
Public Methods
void initialise()
Obtains the expression manager from the Mule context and initialises the connector.
void run()
Implementation run() that will invoke the method on the pojo that this message source wraps.
void setCount(Object value)
Sets count
void setKeywords(Object value)
Sets keywords
void setUserIds(Object value)
Sets userIds
void start()
Method to be called when Mule instance gets started.
void stop()
Method to be called when Mule instance gets stopped.
[Expand]
Inherited Methods
From class org.mule.twitter.processors.AbstractListeningMessageProcessor
From class org.mule.twitter.processors.AbstractMessageProcessor
From class org.mule.twitter.processors.AbstractExpressionEvaluator
From class java.lang.Object
From interface java.lang.Runnable
From interface org.mule.api.callback.SourceCallback
From interface org.mule.api.construct.FlowConstructAware
From interface org.mule.api.context.MuleContextAware
From interface org.mule.api.lifecycle.Startable
From interface org.mule.api.lifecycle.Stoppable
From interface org.mule.api.source.MessageSource

Fields

protected int _countType

protected List<String> _keywordsType

protected List<Long> _userIdsType

protected Object count

protected Object keywords

private Thread thread

Thread under which this message source will execute

protected Object userIds

Public Constructors

public FilteredStreamMessageSource ()

Public Methods

public void initialise ()

Obtains the expression manager from the Mule context and initialises the connector. If a target object has not been set already it will search the Mule registry for a default one.

Throws
InitialisationException

public void run ()

Implementation run() that will invoke the method on the pojo that this message source wraps.

public void setCount (Object value)

Sets count

Parameters
value Value to set

public void setKeywords (Object value)

Sets keywords

Parameters
value Value to set

public void setUserIds (Object value)

Sets userIds

Parameters
value Value to set

public void start ()

Method to be called when Mule instance gets started.

Throws
MuleException

public void stop ()

Method to be called when Mule instance gets stopped.

Throws
MuleException