org.glassfish.jersey.examples.aggregator
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 (marek.potociar at oracle.com)
|
Constructor Summary |
TwitterAggregator(String rgbColor)
Create new twitter message aggregator with a specific message color. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TwitterAggregator
public TwitterAggregator(String rgbColor)
- Create new twitter message aggregator with a specific message color.
- Parameters:
rgbColor - message color.
start
public void start(String keywords,
DataListener msgListener)
- Specified by:
start in interface DataAggregator
stop
public void stop()
- Specified by:
stop in interface DataAggregator
Copyright © 2007-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.