001package systems.dmx.core.service;
002
003import javax.servlet.http.HttpServletRequest;
004
005
006
007public interface WebSocketsService {
008
009    void messageToAll(String pluginUri, String message);
010
011    // ### TODO: let Core provide a root resource and drop "request" parameter?
012    void messageToAllButOne(HttpServletRequest request, String pluginUri, String message);
013
014    // ### TODO: let Core provide a root resource and drop "request" parameter?
015    void messageToOne(HttpServletRequest request, String pluginUri, String message);
016
017    // ---
018
019    String getWebSocketsURL();
020}