summaryrefslogtreecommitdiff
path: root/src/main/ResultListener.java
blob: 9194a63732fcf4e46c50b3578538d7a0576b0429 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main;

import org.json.JSONObject;

/**
 * This class is used to obtain resulting JSON tweets.
 * @author Maurice Laveaux
 */
public interface ResultListener {
    
    /**
     * Notify the result listener that a tweet was generated.
     * @param tweet A single tweet that should be processed. 
     */
    public abstract void tweetReceived(JSONObject tweet);
}