- All Implemented Interfaces:
ByteBufferFactorythat creates heap-based
ByteBuffers. This behavior can be changed by passing in a custom
Function<Integer,to the constructor.
ByteBufferthat contains inbound frames. This buffer is the network buffer for plain connections. When using SSL/TLS, this buffer isn't directly connected to the network, the encrypted read buffer is.
ByteBufferthat contains outbound frames. This buffer is the network buffer for plain connections. When using SSL/TLS, this buffer isn't directed connected to the network, the encrypted write buffer is.
createEncryptedReadBufferCreate the network read
ByteBuffer. This buffer contains encrypted frames read from the network. The
SSLEnginedecrypts frame and pass them over to the read buffer.
createEncryptedWriteBufferCreate the network write
ByteBuffer. This buffer contains encrypted outbound frames. These frames come from the write buffer that sends them through the
SSLContextfor encryption to this buffer.