Class WebSocket
- java.lang.Object
-
- org.palladiosimulator.protocom.framework.java.ee.api.sockets.WebSocket
-
- Direct Known Subclasses:
CalibrationSocket
,LogSocket
,ResultsSocket
public abstract class WebSocket extends Object
Abstract base class for WebSocket classes.
-
-
Constructor Summary
Constructors Constructor Description WebSocket()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
send(javax.websocket.Session session, String message)
Sends a message in the specified session.static void
sendToAll(Queue<javax.websocket.Session> sessions, String message)
Sends a message in the specified sessions.
-
-
-
Method Detail
-
send
public static void send(javax.websocket.Session session, String message)
Sends a message in the specified session.- Parameters:
session
- the session in which the message will be sentmessage
- the message to send
-
-