Class SslConnection.DecryptedEndPoint

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, EndPoint
    Enclosing class:
    SslConnection

    @Deprecated(since="2021-05-27")
    public class SslConnection.DecryptedEndPoint
    extends AbstractEndPoint
    Deprecated.
    • Constructor Detail

      • DecryptedEndPoint

        public DecryptedEndPoint()
        Deprecated.
    • Method Detail

      • setIdleTimeout

        public void setIdleTimeout​(long idleTimeout)
        Deprecated.
        Description copied from class: IdleTimeout

        Sets the idle timeout in milliseconds.

        A value that is less than or zero disables the idle timeout checks.

        Specified by:
        setIdleTimeout in interface EndPoint
        Overrides:
        setIdleTimeout in class IdleTimeout
        Parameters:
        idleTimeout - the idle timeout in milliseconds
        See Also:
        IdleTimeout.getIdleTimeout()
      • isOpen

        public boolean isOpen()
        Deprecated.
        Description copied from class: IdleTimeout
        This abstract method should be called to check if idle timeouts should still be checked.
        Specified by:
        isOpen in interface EndPoint
        Overrides:
        isOpen in class AbstractEndPoint
        Returns:
        True if the entity monitored should still be checked for idle timeouts
      • getLocalAddress

        public java.net.InetSocketAddress getLocalAddress()
        Deprecated.
        Returns:
        The local Inet address to which this EndPoint is bound, or null if this EndPoint does not represent a network connection.
      • getRemoteAddress

        public java.net.InetSocketAddress getRemoteAddress()
        Deprecated.
        Returns:
        The remote Inet address to which this EndPoint is bound, or null if this EndPoint does not represent a network connection.
      • getSslConnection

        public SslConnection getSslConnection()
        Deprecated.
      • fill

        public int fill​(java.nio.ByteBuffer buffer)
                 throws java.io.IOException
        Deprecated.
        Description copied from interface: EndPoint
        Fill the passed buffer with data from this endpoint. The bytes are appended to any data already in the buffer by writing from the buffers limit up to it's capacity. The limit is updated to include the filled bytes.
        Parameters:
        buffer - The buffer to fill. The position and limit are modified during the fill. After the operation, the position is unchanged and the limit is increased to reflect the new data filled.
        Returns:
        an int value indicating the number of bytes filled or -1 if EOF is read or the input is shutdown.
        Throws:
        java.io.IOException - if the endpoint is closed.
      • flush

        public boolean flush​(java.nio.ByteBuffer... appOuts)
                      throws java.io.IOException
        Deprecated.
        Description copied from interface: EndPoint
        Flush data from the passed header/buffer to this endpoint. As many bytes as can be consumed are taken from the header/buffer position up until the buffer limit. The header/buffers position is updated to indicate how many bytes have been consumed.
        Parameters:
        appOuts - the buffers to flush
        Returns:
        True IFF all the buffers have been consumed and the endpoint has flushed the data to its destination (ie is not buffering any data).
        Throws:
        java.io.IOException - If the endpoint is closed or output is shutdown.
      • doShutdownOutput

        public void doShutdownOutput()
        Deprecated.
      • doClose

        public void doClose()
        Deprecated.
      • getTransport

        public java.lang.Object getTransport()
        Deprecated.
        Returns:
        The underlying transport object (socket, channel, etc.)