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
public class SslEngineByteBufferOutputStream extends OutputStream
Bridge between the byte buffer and stream worlds.
-
-
Constructor Summary
Constructors Constructor Description SslEngineByteBufferOutputStream(SSLEngine sslEngine, ByteBuffer plainOut, ByteBuffer cypherOut, WritableByteChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidflush()voidwrite(int b)-
Methods inherited from class java.io.OutputStream
close, nullOutputStream, write, write
-
-
-
-
Constructor Detail
-
SslEngineByteBufferOutputStream
public SslEngineByteBufferOutputStream(SSLEngine sslEngine, ByteBuffer plainOut, ByteBuffer cypherOut, WritableByteChannel channel)
-
-
Method Detail
-
write
public void write(int b) throws IOException- Specified by:
writein classOutputStream- Throws:
IOException
-
flush
public void flush() throws IOException- Specified by:
flushin interfaceFlushable- Overrides:
flushin classOutputStream- Throws:
IOException
-
-