Package com.rabbitmq.client.impl.nio
Class SslEngineByteBufferOutputStream
- java.lang.Object
-
- java.io.OutputStream
-
- com.rabbitmq.client.impl.nio.SslEngineByteBufferOutputStream
-
- All Implemented Interfaces:
java.io.Closeable,java.io.Flushable,java.lang.AutoCloseable
public class SslEngineByteBufferOutputStream extends java.io.OutputStreamBridge between the byte buffer and stream worlds.
-
-
Constructor Summary
Constructors Constructor Description SslEngineByteBufferOutputStream(javax.net.ssl.SSLEngine sslEngine, java.nio.ByteBuffer plainOut, java.nio.ByteBuffer cypherOut, java.nio.channels.WritableByteChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private voiddoFlush()voidflush()voidwrite(int b)
-
-
-
Method Detail
-
write
public void write(int b) throws java.io.IOException- Specified by:
writein classjava.io.OutputStream- Throws:
java.io.IOException
-
flush
public void flush() throws java.io.IOException- Specified by:
flushin interfacejava.io.Flushable- Overrides:
flushin classjava.io.OutputStream- Throws:
java.io.IOException
-
doFlush
private void doFlush() throws java.io.IOException- Throws:
java.io.IOException
-
-