Class JsrAsyncRemote

java.lang.Object
org.eclipse.jetty.websocket.jsr356.AbstractJsrRemote
org.eclipse.jetty.websocket.jsr356.JsrAsyncRemote
All Implemented Interfaces:
javax.websocket.RemoteEndpoint, javax.websocket.RemoteEndpoint.Async

public class JsrAsyncRemote extends AbstractJsrRemote implements javax.websocket.RemoteEndpoint.Async
  • Field Details

    • LOG

      static final org.eclipse.jetty.util.log.Logger LOG
  • Constructor Details

    • JsrAsyncRemote

      protected JsrAsyncRemote(JsrSession session)
  • Method Details

    • getSendTimeout

      public long getSendTimeout()
      Specified by:
      getSendTimeout in interface javax.websocket.RemoteEndpoint.Async
    • sendBinary

      public Future<Void> sendBinary(ByteBuffer data)
      Specified by:
      sendBinary in interface javax.websocket.RemoteEndpoint.Async
    • sendBinary

      public void sendBinary(ByteBuffer data, javax.websocket.SendHandler handler)
      Specified by:
      sendBinary in interface javax.websocket.RemoteEndpoint.Async
    • sendObject

      public Future<Void> sendObject(Object data)
      Specified by:
      sendObject in interface javax.websocket.RemoteEndpoint.Async
    • sendObject

      public void sendObject(Object data, javax.websocket.SendHandler handler)
      Specified by:
      sendObject in interface javax.websocket.RemoteEndpoint.Async
    • sendText

      public Future<Void> sendText(String text)
      Specified by:
      sendText in interface javax.websocket.RemoteEndpoint.Async
    • sendText

      public void sendText(String text, javax.websocket.SendHandler handler)
      Specified by:
      sendText in interface javax.websocket.RemoteEndpoint.Async
    • setSendTimeout

      public void setSendTimeout(long timeoutmillis)
      Specified by:
      setSendTimeout in interface javax.websocket.RemoteEndpoint.Async