Class PythonWsProcessService.PyWebSocket

java.lang.Object
de.iip_ecosphere.platform.services.environment.services.WsAdapter
de.iip_ecosphere.platform.services.environment.PythonWsProcessService.PyWebSocket
Enclosing class:
PythonWsProcessService

private class PythonWsProcessService.PyWebSocket extends WsAdapter
Websocket client implementation.
Author:
Holger Eichelberger, SSE
  • Field Details

    • objectMapper

      private de.iip_ecosphere.platform.support.json.Json objectMapper
  • Constructor Details

    • PyWebSocket

      public PyWebSocket(URI serverUri)
      Creates a web socket for the given server URI.
      Parameters:
      serverUri - the server URI
  • Method Details

    • onMessage

      protected void onMessage(String message)
      Description copied from class: WsAdapter
      Called when a message arrived.
      Specified by:
      onMessage in class WsAdapter
      Parameters:
      message - the message text