Package com.rabbitmq.client.impl.nio
Class SslEngineByteBufferOutputStream
java.lang.Object
java.io.OutputStream
com.rabbitmq.client.impl.nio.SslEngineByteBufferOutputStream
- All Implemented Interfaces:
Closeable,Flushable,AutoCloseable
Bridge between the byte buffer and stream worlds.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final WritableByteChannelprivate final ByteBufferprivate final ByteBufferprivate final SSLEngine -
Constructor Summary
ConstructorsConstructorDescriptionSslEngineByteBufferOutputStream(SSLEngine sslEngine, ByteBuffer plainOut, ByteBuffer cypherOut, WritableByteChannel channel) -
Method Summary
Methods inherited from class java.io.OutputStream
close, nullOutputStream, write, write
-
Field Details
-
sslEngine
-
plainOut
-
cypherOut
-
channel
-
-
Constructor Details
-
SslEngineByteBufferOutputStream
public SslEngineByteBufferOutputStream(SSLEngine sslEngine, ByteBuffer plainOut, ByteBuffer cypherOut, WritableByteChannel channel)
-
-
Method Details
-
write
- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
doFlush
- Throws:
IOException
-