public interface ByteBufferFactory
ByteBuffers.NioParams| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
createEncryptedReadBuffer(NioContext nioContext)
Create the network read
ByteBuffer. |
ByteBuffer |
createEncryptedWriteBuffer(NioContext nioContext)
Create the network write
ByteBuffer. |
ByteBuffer |
createReadBuffer(NioContext nioContext)
Create the
ByteBuffer that contains inbound frames. |
ByteBuffer |
createWriteBuffer(NioContext nioContext)
Create the
ByteBuffer that contains outbound frames. |
ByteBuffer createReadBuffer(NioContext nioContext)
ByteBuffer that 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.nioContext - ByteBuffer createWriteBuffer(NioContext nioContext)
ByteBuffer that 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.nioContext - ByteBuffer createEncryptedReadBuffer(NioContext nioContext)
ByteBuffer.
This buffer contains encrypted frames read from the network.
The SSLEngine decrypts frame and pass them
over to the read buffer.nioContext - ByteBuffer createEncryptedWriteBuffer(NioContext nioContext)
ByteBuffer.
This buffer contains encrypted outbound frames. These
frames come from the write buffer that sends them through
the SSLContext for encryption to
this buffer.nioContext - Copyright © 2021 VMware, Inc. or its affiliates.. All rights reserved.