Class JettyWebSocketChannel

java.lang.Object
io.webfolder.cdp.channel.JettyWebSocketChannel
All Implemented Interfaces:
Channel

public class JettyWebSocketChannel extends Object implements Channel
  • Constructor Details

    • JettyWebSocketChannel

      public JettyWebSocketChannel(Future<org.eclipse.jetty.websocket.api.Session> future)
  • Method Details

    • isOpen

      public boolean isOpen()
      Specified by:
      isOpen in interface Channel
    • disconnect

      public void disconnect()
      Specified by:
      disconnect in interface Channel
    • sendText

      public void sendText(String message)
      Specified by:
      sendText in interface Channel
    • sendText

      public void sendText(byte[] message)
      Specified by:
      sendText in interface Channel
    • connect

      public void connect()
      Specified by:
      connect in interface Channel