public final class RemotingOptions extends Object
Modifier and Type | Field and Description |
---|---|
static org.xnio.Option<String> |
AUTH_REALM
The authentication realm to use if no authentication
CallbackHandler is specified. |
static org.xnio.Option<String> |
AUTH_USER_NAME
Deprecated.
|
static org.xnio.Option<Integer> |
AUTHENTICATION_RETRIES
Specify the number of times a client is allowed to retry authentication before closing the connection.
|
static org.xnio.Option<String> |
AUTHORIZE_ID
The SASL authorization ID.
|
static org.xnio.Option<Integer> |
BUFFER_REGION_SIZE
The size of allocated buffer regions.
|
static int |
DEFAULT_AUTHENTICATION_RETRIES
The default number of authentication retries.
|
static int |
DEFAULT_HEARTBEAT_INTERVAL
The default heartbeat interval.
|
static int |
DEFAULT_MAX_INBOUND_CHANNELS
The default maximum number of inbound channels.
|
static long |
DEFAULT_MAX_INBOUND_MESSAGE_SIZE
The default maximum inbound message size.
|
static int |
DEFAULT_MAX_INBOUND_MESSAGES
The default maximum number of concurrent inbound messages on a channel.
|
static int |
DEFAULT_MAX_OUTBOUND_CHANNELS
The default maximum number of outbound channels.
|
static long |
DEFAULT_MAX_OUTBOUND_MESSAGE_SIZE
The default maximum outbound message size.
|
static int |
DEFAULT_RECEIVE_BUFFER_SIZE
The default receive buffer size.
|
static String |
DEFAULT_SASL_PROTOCOL
The default SASL protocol name.
|
static int |
DEFAULT_SEND_BUFFER_SIZE
The default send buffer size.
|
static org.xnio.Option<Integer> |
HEARTBEAT_INTERVAL
The interval to use for connection heartbeat, in milliseconds.
|
static int |
INCOMING_CHANNEL_DEFAULT_MAX_OUTBOUND_MESSAGES
The default maximum number of concurrent outbound messages on an incoming channel.
|
static int |
INCOMING_CHANNEL_DEFAULT_RECEIVE_WINDOW_SIZE
The default requested window size of the receive direction for incoming channel open attempts.
|
static int |
INCOMING_CHANNEL_DEFAULT_TRANSMIT_WINDOW_SIZE
The default requested window size of the transmit direction for incoming channel open attempts.
|
static org.xnio.Option<Integer> |
MAX_INBOUND_CHANNELS
The maximum number of inbound channels to support for a connection.
|
static org.xnio.Option<Long> |
MAX_INBOUND_MESSAGE_SIZE
The maximum inbound message size to be allowed.
|
static org.xnio.Option<Integer> |
MAX_INBOUND_MESSAGES
The maximum number of concurrent inbound messages on a channel.
|
static org.xnio.Option<Integer> |
MAX_OUTBOUND_CHANNELS
The maximum number of outbound channels to support for a connection.
|
static org.xnio.Option<Long> |
MAX_OUTBOUND_MESSAGE_SIZE
The maximum outbound message size to send.
|
static org.xnio.Option<Integer> |
MAX_OUTBOUND_MESSAGES
The maximum number of concurrent outbound messages on a channel.
|
static int |
OUTGOING_CHANNEL_DEFAULT_MAX_OUTBOUND_MESSAGES
The default maximum number of concurrent outbound messages on an outgoing channel.
|
static int |
OUTGOING_CHANNEL_DEFAULT_RECEIVE_WINDOW_SIZE
The default requested window size of the receive direction for outgoing channel open attempts.
|
static int |
OUTGOING_CHANNEL_DEFAULT_TRANSMIT_WINDOW_SIZE
The default requested window size of the transmit direction for outgoing channel open attempts.
|
static org.xnio.Option<Integer> |
RECEIVE_BUFFER_SIZE
The size of the largest buffer that this endpoint will accept over a connection.
|
static org.xnio.Option<Integer> |
RECEIVE_WINDOW_SIZE
The maximum window size of the receive direction for connection channels, in bytes.
|
static org.xnio.Option<String> |
SASL_PROTOCOL
Where a
SaslServer or SaslClient are created by default the protocol specified it 'remoting', this
Option can be used to override this. |
static org.xnio.Option<Integer> |
SEND_BUFFER_SIZE
The size of the largest buffer that this endpoint will transmit over a connection.
|
static org.xnio.Option<String> |
SERVER_NAME
The server side of the connection passes it's name to the client in the initial greeting, by default the name is
automatically discovered from the local address of the connection or it can be overridden using this
Option . |
static org.xnio.Option<Integer> |
TRANSMIT_WINDOW_SIZE
The maximum window size of the transmit direction for connection channels, in bytes.
|
Modifier and Type | Method and Description |
---|---|
static org.wildfly.security.auth.client.AuthenticationConfiguration |
mergeOptionsIntoAuthenticationConfiguration(org.xnio.OptionMap optionMap,
org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration)
Merge the given option map into the given authentication configuration, and return the result.
|
public static final org.xnio.Option<Integer> SEND_BUFFER_SIZE
public static final int DEFAULT_SEND_BUFFER_SIZE
public static final org.xnio.Option<Integer> RECEIVE_BUFFER_SIZE
public static final int DEFAULT_RECEIVE_BUFFER_SIZE
public static final org.xnio.Option<Integer> BUFFER_REGION_SIZE
public static final org.xnio.Option<Integer> TRANSMIT_WINDOW_SIZE
public static final int INCOMING_CHANNEL_DEFAULT_TRANSMIT_WINDOW_SIZE
public static final int OUTGOING_CHANNEL_DEFAULT_TRANSMIT_WINDOW_SIZE
public static final org.xnio.Option<Integer> RECEIVE_WINDOW_SIZE
public static final int INCOMING_CHANNEL_DEFAULT_RECEIVE_WINDOW_SIZE
public static final int OUTGOING_CHANNEL_DEFAULT_RECEIVE_WINDOW_SIZE
public static final org.xnio.Option<Integer> MAX_OUTBOUND_CHANNELS
public static final int DEFAULT_MAX_OUTBOUND_CHANNELS
public static final org.xnio.Option<Integer> MAX_INBOUND_CHANNELS
public static final int DEFAULT_MAX_INBOUND_CHANNELS
public static final org.xnio.Option<String> AUTHORIZE_ID
CallbackHandler
is specified
and the selected SASL mechanism demands a user name.@Deprecated public static final org.xnio.Option<String> AUTH_USER_NAME
AUTHORIZE_ID
.public static final org.xnio.Option<String> AUTH_REALM
CallbackHandler
is specified.public static final org.xnio.Option<Integer> AUTHENTICATION_RETRIES
public static final int DEFAULT_AUTHENTICATION_RETRIES
public static final org.xnio.Option<Integer> MAX_OUTBOUND_MESSAGES
public static final int INCOMING_CHANNEL_DEFAULT_MAX_OUTBOUND_MESSAGES
public static final int OUTGOING_CHANNEL_DEFAULT_MAX_OUTBOUND_MESSAGES
public static final org.xnio.Option<Integer> MAX_INBOUND_MESSAGES
public static final int DEFAULT_MAX_INBOUND_MESSAGES
public static final org.xnio.Option<Integer> HEARTBEAT_INTERVAL
public static final int DEFAULT_HEARTBEAT_INTERVAL
public static final org.xnio.Option<Long> MAX_INBOUND_MESSAGE_SIZE
public static final long DEFAULT_MAX_INBOUND_MESSAGE_SIZE
public static final org.xnio.Option<Long> MAX_OUTBOUND_MESSAGE_SIZE
public static final long DEFAULT_MAX_OUTBOUND_MESSAGE_SIZE
public static final org.xnio.Option<String> SERVER_NAME
Option
.public static final org.xnio.Option<String> SASL_PROTOCOL
SaslServer
or SaslClient
are created by default the protocol specified it 'remoting', this
Option
can be used to override this.public static final String DEFAULT_SASL_PROTOCOL
public static org.wildfly.security.auth.client.AuthenticationConfiguration mergeOptionsIntoAuthenticationConfiguration(org.xnio.OptionMap optionMap, org.wildfly.security.auth.client.AuthenticationConfiguration authenticationConfiguration)
optionMap
- the option map (must not be null
)authenticationConfiguration
- the authentication configuration (must not be null
)null
)Copyright © 2017 JBoss, a division of Red Hat, Inc.. All rights reserved.