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.
-
Constructor Summary
ConstructorDescriptionSslEngineByteBufferOutputStream
(SSLEngine sslEngine, ByteBuffer plainOut, ByteBuffer cypherOut, WritableByteChannel channel) -
Method Summary
Methods inherited from class java.io.OutputStream
close, nullOutputStream, write, write
-
Constructor Details
-
SslEngineByteBufferOutputStream
public SslEngineByteBufferOutputStream(SSLEngine sslEngine, ByteBuffer plainOut, ByteBuffer cypherOut, WritableByteChannel channel)
-
-
Method Details
-
write
- Specified by:
write
in classOutputStream
- Throws:
IOException
-
flush
- Specified by:
flush
in interfaceFlushable
- Overrides:
flush
in classOutputStream
- Throws:
IOException
-