de.lmu.ifi.dbs.elki.application.jsmap
Class JSONResultHandler
java.lang.Object
de.lmu.ifi.dbs.elki.application.jsmap.JSONResultHandler
- All Implemented Interfaces:
- ResultHandler, ResultProcessor, InspectionUtilFrequentlyScanned, Parameterizable
public class JSONResultHandler
- extends Object
- implements ResultHandler
Handle results by serving them via a web server to mapping applications.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
server
private JSONWebServer server
- The actual web server
port
private int port
- Listen port
JSONResultHandler
public JSONResultHandler(int port)
- Constructor.
- Parameters:
port
- Port to listen on
processNewResult
public void processNewResult(HierarchicalResult baseResult,
Result newResult)
- Description copied from interface:
ResultProcessor
- Process a result.
- Specified by:
processNewResult
in interface ResultProcessor
- Parameters:
baseResult
- The base of the result tree.newResult
- Newly added result subtree.