All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.datawire.quark.runtime.Runtime Maven / Gradle / Ivy

There is a newer version: 0.4.2
Show newest version
package io.datawire.quark.runtime;


public interface Runtime {
    void acquire();
    void release();
    void wait(Double timeoutInSeconds);
    void open(String url, WSHandler handler);
    void request(HTTPRequest request, HTTPHandler handler);
    void schedule(Task handler, Double delayInSeconds);
    Codec codec();
    void serveHTTP(String url, HTTPServlet servlet);
    void serveWS(String url, WSServlet server);
    void respond(HTTPRequest request, HTTPResponse response);
    void fail(String message);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy