Class TwitterAggregator
- java.lang.Object
-
- org.glassfish.jersey.examples.aggregator.TwitterAggregator
-
- All Implemented Interfaces:
DataAggregator
public final class TwitterAggregator extends Object implements DataAggregator
Twitter message-based data aggregator implementation.- Author:
- Marek Potociar
-
-
Constructor Summary
Constructors Constructor Description TwitterAggregator(String rgbColor)Create new twitter message aggregator with a specific message color.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart(String keywords, DataListener msgListener)voidstop()
-
-
-
Constructor Detail
-
TwitterAggregator
public TwitterAggregator(String rgbColor)
Create new twitter message aggregator with a specific message color.- Parameters:
rgbColor- message color.
-
-
Method Detail
-
start
public void start(String keywords, DataListener msgListener)
- Specified by:
startin interfaceDataAggregator
-
stop
public void stop()
- Specified by:
stopin interfaceDataAggregator
-
-