gr.iti.mklab.sfc.subscribers.Subscriber Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mklab-stream-manager Show documentation
Show all versions of mklab-stream-manager Show documentation
Monitors a set of social streams (e.g. Twitter status updates) and collects the incoming content.
The newest version!
package gr.iti.mklab.sfc.subscribers;
import java.util.Set;
import gr.iti.mklab.framework.common.domain.feeds.Feed;
import gr.iti.mklab.sfc.streams.Stream;
import gr.iti.mklab.sfc.streams.StreamException;
/**
* The interface for retrieving content by subscribing to a social network channel.
* Currently the only API that supports subscribing is Twitter API.
*
* @author manosetro
*
*/
public abstract class Subscriber extends Stream {
public abstract void subscribe(Set feeds) throws StreamException;
public abstract void stop();
}