public interface IEngineResult
interface
encapsulating the result state produced by the
IEngine
calls.Modifier and Type | Method and Description |
---|---|
int |
bytesConsumed()
Returns the number of bytes consumed from the input buffer.
|
int |
bytesProduced()
Returns the number of bytes written to the output buffer.
|
HandshakeStatus |
getHandshakeStatus()
Gets the current handshake status produced by the
IEngine call. |
Status |
getStatus()
Gets the overall result of the
IEngine calls. |
int bytesConsumed()
int bytesProduced()
Status getStatus()
IEngine
calls.HandshakeStatus getHandshakeStatus()
IEngine
call.
It should match the value returned by the
IEngine.getHandshakeStatus()
method. The only exception to this
rule is when the call has just finished the ongoing handshake. In such
situation this method should return the HandshakeStatus.FINISHED
status which is forbidden for the IEngine.getHandshakeStatus()
method.Copyright © 2017–2021 SNF4J.ORG. All rights reserved.