Class UndertowWebSocketChannel

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

public class UndertowWebSocketChannel extends Object implements Channel
  • Constructor Details

    • UndertowWebSocketChannel

      public UndertowWebSocketChannel(org.xnio.IoFuture<io.undertow.websockets.core.WebSocketChannel> future, SessionFactory factory, MessageHandler handler)
  • 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