public class ReactorOptions
extends java.lang.Object
Constructor and Description |
---|
ReactorOptions() |
Modifier and Type | Method and Description |
---|---|
int |
getMaxFrameSize()
Gets the maximum frame size to be announced in the Open frame.
|
boolean |
isEnableSaslByDefault()
Returns whether SASL should be enabled by default.
|
void |
setEnableSaslByDefault(boolean enableSaslByDefault)
Sets whether SASL will be automatically enabled with ANONYMOUS as the mechanism,
or if no SASL layer will be enabled.
|
void |
setMaxFrameSize(int maxFrameSize)
Sets the maximum frame size value to announce in the Open frame.
|
public void setEnableSaslByDefault(boolean enableSaslByDefault)
enableSaslByDefault
- true if SASL should be enabled by default, false if not.public boolean isEnableSaslByDefault()
setEnableSaslByDefault(boolean)
public void setMaxFrameSize(int maxFrameSize)
maxFrameSize
- The frame size in bytes.public int getMaxFrameSize()
setMaxFrameSize(int)