Class VxWebSocketImpl

java.lang.Object
org.noear.solon.net.websocket.WebSocketBase
org.noear.solon.net.websocket.WebSocketTimeoutBase
org.noear.solon.server.vertx.websocket.VxWebSocketImpl
All Implemented Interfaces:
org.noear.solon.net.websocket.WebSocket

public class VxWebSocketImpl extends org.noear.solon.net.websocket.WebSocketTimeoutBase
Since:
3.0
Author:
noear
  • Constructor Details

    • VxWebSocketImpl

      public VxWebSocketImpl(io.vertx.core.http.ServerWebSocket real)
  • Method Details

    • buildUri

      public String buildUri(io.vertx.core.http.ServerWebSocket req)
    • isValid

      public boolean isValid()
    • isSecure

      public boolean isSecure()
    • remoteAddress

      public InetSocketAddress remoteAddress() throws IOException
      Throws:
      IOException
    • localAddress

      public InetSocketAddress localAddress() throws IOException
      Throws:
      IOException
    • send

      public Future<Void> send(String text)
    • send

      public Future<Void> send(ByteBuffer binary)
    • close

      public void close()
      Specified by:
      close in interface org.noear.solon.net.websocket.WebSocket
      Overrides:
      close in class org.noear.solon.net.websocket.WebSocketBase