Package org.conscrypt
Class NativeSsl.BioWrapper
java.lang.Object
org.conscrypt.NativeSsl.BioWrapper
- Enclosing class:
NativeSsl
A utility wrapper that abstracts operations on the underlying native BIO instance.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
close()
(package private) int
(package private) int
readDirectByteBuffer
(long destAddress, int destLength) (package private) int
writeDirectByteBuffer
(long address, int length)
-
Field Details
-
bio
private volatile long bio
-
-
Constructor Details
-
BioWrapper
- Throws:
SSLException
-
-
Method Details
-
getPendingWrittenBytes
int getPendingWrittenBytes() -
writeDirectByteBuffer
- Throws:
IOException
-
readDirectByteBuffer
- Throws:
IOException
-
close
void close()
-