package mining;import org.json.JSONObject;/** * A callback provider to listen from streams. * * @author Maurice Laveaux */public interface StreamListener {/** * This method is called by the stream when new objects are streamed in. * * @param data The JSON data returned. */publicvoidnotify(JSONObject data);}