Package com.rabbitmq.client.impl.nio
Class SslEngineFrameBuilder
- java.lang.Object
-
- com.rabbitmq.client.impl.nio.FrameBuilder
-
- com.rabbitmq.client.impl.nio.SslEngineFrameBuilder
-
public class SslEngineFrameBuilder extends FrameBuilder
Sub-class ofFrameBuilder
that unwraps crypted data from the network.- Since:
- 4.4.0
-
-
Field Summary
-
Fields inherited from class com.rabbitmq.client.impl.nio.FrameBuilder
applicationBuffer, channel
-
-
Constructor Summary
Constructors Constructor Description SslEngineFrameBuilder(SSLEngine sslEngine, ByteBuffer plainIn, ByteBuffer cipherIn, ReadableByteChannel channel)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
somethingToRead()
Tells whether there's something to read in the application buffer or not.-
Methods inherited from class com.rabbitmq.client.impl.nio.FrameBuilder
readFrame
-
-
-
-
Constructor Detail
-
SslEngineFrameBuilder
public SslEngineFrameBuilder(SSLEngine sslEngine, ByteBuffer plainIn, ByteBuffer cipherIn, ReadableByteChannel channel)
-
-
Method Detail
-
somethingToRead
protected boolean somethingToRead() throws IOException
Description copied from class:FrameBuilder
Tells whether there's something to read in the application buffer or not. Tries to read from the network if necessary.- Overrides:
somethingToRead
in classFrameBuilder
- Returns:
- true if there's something to read in the application buffer
- Throws:
IOException
-
-