Class JsrBasicRemote

  • All Implemented Interfaces:
    javax.websocket.RemoteEndpoint, javax.websocket.RemoteEndpoint.Basic

    public class JsrBasicRemote
    extends AbstractJsrRemote
    implements javax.websocket.RemoteEndpoint.Basic
    • Constructor Detail

      • JsrBasicRemote

        protected JsrBasicRemote​(JsrSession session)
    • Method Detail

      • getSendStream

        public java.io.OutputStream getSendStream()
                                           throws java.io.IOException
        Specified by:
        getSendStream in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException
      • getSendWriter

        public java.io.Writer getSendWriter()
                                     throws java.io.IOException
        Specified by:
        getSendWriter in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException
      • sendBinary

        public void sendBinary​(java.nio.ByteBuffer data)
                        throws java.io.IOException
        Specified by:
        sendBinary in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException
      • sendBinary

        public void sendBinary​(java.nio.ByteBuffer partialByte,
                               boolean isLast)
                        throws java.io.IOException
        Specified by:
        sendBinary in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException
      • sendObject

        public void sendObject​(java.lang.Object data)
                        throws java.io.IOException,
                               javax.websocket.EncodeException
        Specified by:
        sendObject in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException
        javax.websocket.EncodeException
      • sendText

        public void sendText​(java.lang.String text)
                      throws java.io.IOException
        Specified by:
        sendText in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException
      • sendText

        public void sendText​(java.lang.String partialMessage,
                             boolean isLast)
                      throws java.io.IOException
        Specified by:
        sendText in interface javax.websocket.RemoteEndpoint.Basic
        Throws:
        java.io.IOException