| Modifier and Type | Method and Description |
|---|---|
| public static Plaintext | Returns: aPlaintext describing the result of
the operationthe transportation context context, ByteBuffer[] an array of srcs, int ByteBuffers containing the
inbound network dataThe offset within the srcsOffset, int srcs buffer array
of the first buffer from which bytes are to be
retrieved; it must be non-negative and no larger
than srcs.length.The maximum number of srcsLength, ByteBuffer[] srcs buffers to be
accessed; it must be non-negative and no larger than
srcs.length - srcsOffset.an array of dsts, int ByteBuffers to hold inbound
application dataThe offset within the dstsOffset, int dsts buffer array
of the first buffer from which bytes are to be
placed; it must be non-negative and no larger
than dsts.length.The maximum number of dstsLength)dsts buffers to be
accessed; it must be non-negative and no larger than
dsts.length - dstsOffset.Decodes an array of SSL/(D)TLS network source data into the destination application data buffers. |
| public String | Returns: the host name of the peer, or null if nothing is available.Returns the host name of the peer. |
| public int | Returns: the port number of the peer, or -1 if nothing is available.Returns the port number of the peer. |
| public default void | |
| public boolean | Returns: true if delegated tasks used for handshaking operations.Return true if delegated tasks used for handshaking operations. |
| decode | back to summary |
|---|---|
| public static Plaintext decode(TransportContext context, ByteBuffer[] srcs, int srcsOffset, int srcsLength, ByteBuffer[] dsts, int dstsOffset, int dstsLength) throws IOException Decodes an array of SSL/(D)TLS network source data into the destination application data buffers. For SSL/TLS connections, if no source data, the network data may be received from the underlying SSL/TLS input stream.
| |
| getPeerHost | back to summary |
|---|---|
| public String getPeerHost() Returns the host name of the peer.
| |
| getPeerPort | back to summary |
|---|---|
| public int getPeerPort() Returns the port number of the peer.
| |
| shutdown | back to summary |
|---|---|
| public default void shutdown() throws IOException Shutdown the transport. | |
| useDelegatedTask | back to summary |
|---|---|
| public boolean useDelegatedTask() Return true if delegated tasks used for handshaking operations.
| |