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 Modifier and Type Field Description private java.nio.ByteBuffer
cipherBuffer
private boolean
isUnderflowHandlingEnabled
private javax.net.ssl.SSLEngine
sslEngine
-
Fields inherited from class com.rabbitmq.client.impl.nio.FrameBuilder
applicationBuffer, channel
-
-
Constructor Summary
Constructors Constructor Description SslEngineFrameBuilder(javax.net.ssl.SSLEngine sslEngine, java.nio.ByteBuffer plainIn, java.nio.ByteBuffer cipherIn, java.nio.channels.ReadableByteChannel channel, int maxPayloadSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isUnderflowHandlingEnabled()
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
-
-
-
-
Method Detail
-
somethingToRead
protected boolean somethingToRead() throws java.io.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:
java.io.IOException
-
isUnderflowHandlingEnabled
public boolean isUnderflowHandlingEnabled()
- Overrides:
isUnderflowHandlingEnabled
in classFrameBuilder
-
-