Class AbstractWebsocket

java.lang.Object
jakarta.websocket.Endpoint
ch.tocco.nice2.web.core.api.websocket.BaseWebsocket
ch.tocco.nice2.devcon.impl.socket.AbstractWebsocket
Direct Known Subclasses:
LoggingWebsocketDefinition.LoggingWebsocket, ModelValidationWebsocketDefinition.ModelValidationWebsocket, SqlLoggingWebsocketDefinition.SqlLoggingWebsocket

public abstract class AbstractWebsocket extends BaseWebsocket
  • Constructor Details

    • AbstractWebsocket

      protected AbstractWebsocket(int idleTimeoutSeconds)
  • Method Details

    • doOnMessage

      public void doOnMessage(jakarta.websocket.Session session, String message)
      Description copied from class: BaseWebsocket
      Called when a message has arrived from the client that is bound to this instance.
      Specified by:
      doOnMessage in class BaseWebsocket