Class WebSocketCommProxy

java.lang.Object
com.illumon.util.net.AbstractCommServer
io.deephaven.envoysupport.WebSocketCommProxy
All Implemented Interfaces:
com.fishlib.base.log.LogOutputAppendable, CommServer

public class WebSocketCommProxy extends AbstractCommServer
WebSocket-based implementation of CommServer, providing the basic wiring to map fishlib Commands through a websocket pipe and back again.

This legacy form of IO requires http1.1 sockets, and has already been deleted in a future release.

  • Constructor Details

    • WebSocketCommProxy

      public WebSocketCommProxy(@NotNull @NotNull com.fishlib.io.logger.Logger log, @NotNull @NotNull String name, int websocketPort, boolean startServer)
      Create a FishlibWebSocketProxy and also start a web server.
      Parameters:
      log - a logger for messages
      name - the name of this server
      websocketPort - the port to listen on
      startServer - do not start the server if this is false. The caller will do it later.
    • WebSocketCommProxy

      public WebSocketCommProxy(@NotNull @NotNull com.fishlib.io.logger.Logger log, @NotNull @NotNull String name)
      Create a FishlibWebSocketProxy and do not start a web server. This will be provided elsewhere.
      Parameters:
      log - a logger for messages
      name - the name of this server
  • Method Details