mdk_runtime.WebSockets Maven / Gradle / Ivy
/* Quark 1.0.452 run at 2016-11-11 16:09:46.008093 */
package mdk_runtime;
/**
* Service that can open new WebSocket connections.
*
* When stopped it should close all connections.
*
*/
public interface WebSockets extends mdk_runtime.actors.Actor {
public static quark.reflect.Class mdk_runtime_WebSockets_ref = datawire_mdk_md.Root.mdk_runtime_WebSockets_md;
/**
* The Promise resolves to a WSActor or WSConnectError. The originator will
* receive messages.
*
*/
mdk_runtime.promise.Promise connect(String url, mdk_runtime.actors.Actor originator);
}