Class AbstractEventDriver

    • Constructor Detail

      • AbstractEventDriver

        public AbstractEventDriver​(WebSocketPolicy policy,
                                   java.lang.Object websocket)
        Deprecated.
    • Method Detail

      • incomingFrame

        public void incomingFrame​(Frame frame)
        Deprecated.
        Description copied from interface: IncomingFrames
        Process the incoming frame.

        Note: if you need to hang onto any information from the frame, be sure to copy it, as the information contained in the Frame will be released and/or reused by the implementation.

        Specified by:
        incomingFrame in interface IncomingFrames
        Parameters:
        frame - the frame to process
      • onContinuationFrame

        public void onContinuationFrame​(java.nio.ByteBuffer buffer,
                                        boolean fin)
                                 throws java.io.IOException
        Deprecated.
        Specified by:
        onContinuationFrame in interface EventDriver
        Throws:
        java.io.IOException
      • onPong

        public void onPong​(java.nio.ByteBuffer buffer)
        Deprecated.
        Specified by:
        onPong in interface EventDriver
      • onPing

        public void onPing​(java.nio.ByteBuffer buffer)
        Deprecated.
        Specified by:
        onPing in interface EventDriver