Class JsrAnnotatedEventDriver

    • Method Detail

      • onBinaryFrame

        public void onBinaryFrame​(java.nio.ByteBuffer buffer,
                                  boolean fin)
                           throws java.io.IOException
        Entry point for all incoming binary frames.
        Throws:
        java.io.IOException
      • onBinaryMessage

        public void onBinaryMessage​(byte[] data)
        Entry point for binary frames destined for MessageHandler.Whole
      • onConnect

        public void onConnect()
      • onError

        public void onError​(java.lang.Throwable cause)
      • onInputStream

        public void onInputStream​(java.io.InputStream stream)
                           throws java.io.IOException
        Throws:
        java.io.IOException
      • onPartialBinaryMessage

        public void onPartialBinaryMessage​(java.nio.ByteBuffer buffer,
                                           boolean fin)
      • onPartialTextMessage

        public void onPartialTextMessage​(java.lang.String message,
                                         boolean fin)
      • onReader

        public void onReader​(java.io.Reader reader)
                      throws java.io.IOException
        Throws:
        java.io.IOException
      • onTextFrame

        public void onTextFrame​(java.nio.ByteBuffer buffer,
                                boolean fin)
                         throws java.io.IOException
        Entry point for all incoming text frames.
        Throws:
        java.io.IOException
      • onTextMessage

        public void onTextMessage​(java.lang.String message)
        Entry point for whole text messages