Class ReadableSslChannel

    • Field Detail

      • connection

        private final SslConnection<?> connection
        Deprecated.
        The parent SSL connection.
    • Constructor Detail

      • ReadableSslChannel

        public ReadableSslChannel​(ReadableSelectionChannel source,
                                  SslConnection<?> connection,
                                  WakeupListener wakeupListener)
        Deprecated.
        Constructor.
        Parameters:
        source - The source channel.
        connection - The parent SSL connection.
        wakeupListener - The wakeup listener that will be notified.
    • Method Detail

      • getConnection

        protected SslConnection<?> getConnection()
        Deprecated.
        Returns the parent SSL connection.
        Returns:
        The parent SSL connection.
      • onCompleted

        public void onCompleted()
        Deprecated.
        Callback method invoked upon delegated tasks completion.
        Specified by:
        onCompleted in interface TasksListener
      • onDrain

        public int onDrain​(Buffer buffer,
                           int maxDrained,
                           java.lang.Object... args)
                    throws java.io.IOException
        Deprecated.
        Drains the byte buffer. By default, it decrypts the SSL data and copies as many byte as possible to the target buffer, with no modification.
        Specified by:
        onDrain in interface BufferProcessor
        Overrides:
        onDrain in class ReadableBufferedChannel
        Parameters:
        buffer - The IO buffer to drain.
        maxDrained - The maximum number of bytes drained by this call.
        args - The optional arguments to pass back to the callbacks.
        Returns:
        The number of bytes drained.
        Throws:
        java.io.IOException