Package systems.dmx.core.impl
Class WebSocketServiceImpl
- java.lang.Object
-
- systems.dmx.core.impl.WebSocketServiceImpl
-
- All Implemented Interfaces:
WebSocketService
public class WebSocketServiceImpl extends Object implements WebSocketService
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getWebSocketURL()
void
sendToAll(String message)
void
sendToAllButOrigin(String message)
void
sendToOrigin(String message)
void
sendToReadAllowed(String message, long objectId)
void
sendToSome(String message, java.util.function.Predicate<WebSocketConnection> connectionFilter)
void
start()
-
-
-
Method Detail
-
sendToOrigin
public void sendToOrigin(String message)
- Specified by:
sendToOrigin
in interfaceWebSocketService
-
sendToAll
public void sendToAll(String message)
- Specified by:
sendToAll
in interfaceWebSocketService
-
sendToAllButOrigin
public void sendToAllButOrigin(String message)
- Specified by:
sendToAllButOrigin
in interfaceWebSocketService
-
sendToReadAllowed
public void sendToReadAllowed(String message, long objectId)
- Specified by:
sendToReadAllowed
in interfaceWebSocketService
-
sendToSome
public void sendToSome(String message, java.util.function.Predicate<WebSocketConnection> connectionFilter)
- Specified by:
sendToSome
in interfaceWebSocketService
-
getWebSocketURL
public String getWebSocketURL()
- Specified by:
getWebSocketURL
in interfaceWebSocketService
-
start
public void start()
-
-