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 Details

    • WebSocket

      public WebSocket()
  • Method Details

    • 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 sent
      message - the message to send
    • sendToAll

      public static void sendToAll(Queue<javax.websocket.Session> sessions, String message)
      Sends a message in the specified sessions.
      Parameters:
      sessions - the sessions in which the message will be sent
      message - the message to send