Class UndertowWebsocketServerConnector.UTWebObjectSocket

java.lang.Object
org.nustaq.kontraktor.remoting.websockets.WebObjectSocket
org.nustaq.kontraktor.remoting.http.undertow.UndertowWebsocketServerConnector.UTWebObjectSocket
All Implemented Interfaces:
org.nustaq.kontraktor.remoting.base.ObjectSocket
Enclosing class:
UndertowWebsocketServerConnector

protected static class UndertowWebsocketServerConnector.UTWebObjectSocket extends WebObjectSocket
  • Field Details

    • sendSid

      protected boolean sendSid
    • sendStrings

      protected boolean sendStrings
    • channel

      protected io.undertow.websockets.core.WebSocketChannel channel
    • ex

      protected io.undertow.websockets.spi.WebSocketHttpExchange ex
    • sink

      protected WeakReference<org.nustaq.kontraktor.remoting.base.ObjectSink> sink
    • uuid

      protected String uuid
  • Constructor Details

    • UTWebObjectSocket

      public UTWebObjectSocket(io.undertow.websockets.spi.WebSocketHttpExchange ex, io.undertow.websockets.core.WebSocketChannel channel, boolean sendStrings, boolean sendSid)
  • Method Details

    • sendBinary

      public void sendBinary(byte[] message)
      Specified by:
      sendBinary in class WebObjectSocket
    • close

      public void close() throws IOException
      Throws:
      IOException
    • getConnectionIdentifier

      public String getConnectionIdentifier()
    • getId

      public int getId()
    • setSink

      public void setSink(org.nustaq.kontraktor.remoting.base.ObjectSink sink)
    • getSink

      public org.nustaq.kontraktor.remoting.base.ObjectSink getSink()