XNIO API 2.1.0.CR2

Uses of Class
org.jboss.xnio.Option

Packages that use Option
org.jboss.xnio The main API package for XNIO. 
org.jboss.xnio.channels Defines an enhanced set of channels. 
 

Uses of Option in org.jboss.xnio
 

Fields in org.jboss.xnio declared as Option
static Option<Integer> Options.BACKLOG
          Configure a server with the specified backlog.
static Option<Boolean> Options.BROADCAST
          Enable broadcast support for IP datagram sockets.
static Option<Boolean> Options.CLOSE_ABORT
          Configure a TCP socket to send an RST packet on close.
static Option<Integer> Options.CONNECT_THREADS
          The number of connect threads to create.
static Option<Integer> Options.IP_TRAFFIC_CLASS
          Set the IP traffic class/type-of-service for the channel.
static Option<Boolean> Options.KEEP_ALIVE
          Configure a channel to send a periodic heartbeat of some sort.
static Option<Boolean> Options.MANAGE_CONNECTIONS
          Configure an acceptor to manage connections or to leave them unmanaged.
static Option<Integer> Options.MAX_INBOUND_MESSAGE_SIZE
          The maximum inbound message size.
static Option<Integer> Options.MAX_OUTBOUND_MESSAGE_SIZE
          The maximum outbound message size.
static Option<Boolean> Options.MULTICAST
          Enable multicast support for a socket.
static Option<Integer> Options.MULTICAST_TTL
          Set the multicast time-to-live field for datagram sockets.
static Option<Integer> Options.READ_THREADS
          The number of read threads to create.
static Option<Integer> Options.RECEIVE_BUFFER
          The receive buffer size.
static Option<Boolean> Options.REUSE_ADDRESSES
          Configure an IP socket to reuse addresses.
static Option<Sequence<String>> Options.SASL_MECHANISMS
          A list of SASL mechanisms, in decreasing order of preference.
static Option<Boolean> Options.SASL_POLICY_FORWARD_SECRECY
          Specify whether SASL mechanisms which implement forward secrecy between sessions are required.
static Option<Boolean> Options.SASL_POLICY_NOACTIVE
          Specify whether SASL mechanisms which are susceptible to active (non-dictionary) attacks are permitted.
static Option<Boolean> Options.SASL_POLICY_NOANONYMOUS
          Specify whether SASL mechanisms which accept anonymous logins are permitted.
static Option<Boolean> Options.SASL_POLICY_NODICTIONARY
          Specify whether SASL mechanisms which are susceptible to passive dictionary attacks are permitted.
static Option<Boolean> Options.SASL_POLICY_NOPLAINTEXT
          Specify whether SASL mechanisms which are susceptible to simple plain passive attacks are permitted.
static Option<Boolean> Options.SASL_POLICY_PASS_CREDENTIALS
          Specify whether SASL mechanisms which pass client credentials are required.
static Option<Sequence<SaslQop>> Options.SASL_QOP
          Specify the SASL quality-of-protection to use.
static Option<Boolean> Options.SASL_REUSE
          Specify whether SASL mechanisms should attempt to reuse authenticated session information.
static Option<Boolean> Options.SASL_SERVER_AUTH
          Specify whether the SASL server must authenticate to the client.
static Option<SaslStrength> Options.SASL_STRENGTH
          Specify the SASL cipher strength to use.
static Option<Boolean> Options.SECURE
          Determine whether the channel is encrypted, or employs some other level of security.
static Option<Integer> Options.SELECTOR_CACHE_SIZE
          The size of the selector cache (used only by providers which use NIO selectors).
static Option<Integer> Options.SEND_BUFFER
          The send buffer size.
static Option<SslClientAuthMode> Options.SSL_CLIENT_AUTH_MODE
          Specify the SSL client authentication mode.
static Option<Boolean> Options.SSL_ENABLE_SESSION_CREATION
          Enable or disable session creation for an SSL connection.
static Option<Sequence<String>> Options.SSL_ENABLED_CIPHER_SUITES
          Specify the cipher suites for an SSL/TLS session.
static Option<Sequence<String>> Options.SSL_ENABLED_PROTOCOLS
          Specify the enabled protocols for an SSL/TLS session.
static Option<String> Options.SSL_PROTOCOL
          Specify the protocol name for an SSL context.
static Option<String> Options.SSL_PROVIDER
          Specify the requested provider for an SSL/TLS session.
static Option<Integer> Options.SSL_RECEIVE_BUFFER
          Specify the SSL receive buffer size.
static Option<Integer> Options.SSL_SEND_BUFFER
          Specify the SSL send buffer size.
static Option<Sequence<String>> Options.SSL_SUPPORTED_CIPHER_SUITES
          Get the supported cipher suites for an SSL/TLS session.
static Option<Sequence<String>> Options.SSL_SUPPORTED_PROTOCOLS
          Get the supported protocols for an SSL/TLS session.
static Option<Boolean> Options.SSL_USE_CLIENT_MODE
          Specify whether SSL conversations should be in client or server mode.
static Option<Boolean> Options.TCP_NODELAY
          Configure a TCP socket to disable Nagle's algorithm.
static Option<Boolean> Options.TCP_OOB_INLINE
          Configure a TCP socket to receive out-of-band data alongside regular data.
static Option<Integer> Options.WRITE_THREADS
          The number of write threads to create.
 

Methods in org.jboss.xnio that return Option
static Option<?> Option.fromString(String name, ClassLoader classLoader)
          Get an option from a string name, using the given classloader.
static
<T> Option<Sequence<T>>
Option.sequence(Class<?> declClass, String name, Class<T> elementType)
          Create an option with a sequence type.
static
<T> Option<T>
Option.simple(Class<?> declClass, String name, Class<T> type)
          Create an option with a simple type.
 

Methods in org.jboss.xnio that return types with arguments of type Option
 Set<Option<?>> Option.SetBuilder.create()
          Create the immutable option set instance.
 Iterator<Option<?>> OptionMap.iterator()
          Iterate over the options in this map.
 

Methods in org.jboss.xnio with parameters of type Option
 Option.SetBuilder Option.SetBuilder.add(Option<?> option)
          Add an option to this set.
 boolean OptionMap.contains(Option<?> option)
          Determine whether this option map contains the given option.
 boolean OptionMap.get(Option<Boolean> option, boolean defaultValue)
          Get a boolean value from this option map, with a specified default if the value is missing.
 int OptionMap.get(Option<Integer> option, int defaultValue)
          Get a int value from this option map, with a specified default if the value is missing.
 long OptionMap.get(Option<Long> option, long defaultValue)
          Get a long value from this option map, with a specified default if the value is missing.
<T> T
OptionMap.get(Option<T> option)
          Get the value of an option from this option map.
<T> T
OptionMap.get(Option<T> option, T defaultValue)
          Get the value of an option from this option map, with a specified default if the value is missing.
<T> OptionMap.Builder
OptionMap.Builder.parse(Option<T> key, String stringValue)
          Set a key-value pair, parsing the value from the given string.
 OptionMap.Builder OptionMap.Builder.set(Option<Boolean> key, boolean value)
          Set a boolean value for a Boolean key.
 OptionMap.Builder OptionMap.Builder.set(Option<Integer> key, int value)
          Set an int value for an Integer key.
 OptionMap.Builder OptionMap.Builder.set(Option<Long> key, long value)
          Set a long value for a Long key.
<T> OptionMap.Builder
OptionMap.Builder.set(Option<T> key, T value)
          Set a key-value pair.
 OptionMap.Builder OptionMap.Builder.setSequence(Option<Sequence<Boolean>> key, boolean... values)
          Set boolean values for an Boolean sequence key.
 OptionMap.Builder OptionMap.Builder.setSequence(Option<Sequence<Integer>> key, int... values)
          Set int values for an Integer sequence key.
 OptionMap.Builder OptionMap.Builder.setSequence(Option<Sequence<Long>> key, long... values)
          Set long values for a Long sequence key.
<T> OptionMap.Builder
OptionMap.Builder.setSequence(Option<Sequence<T>> key, T... values)
          Set a key-value pair, where the value is a sequence type.
 

Method parameters in org.jboss.xnio with type arguments of type Option
 Option.SetBuilder Option.SetBuilder.addAll(Collection<Option<?>> options)
          Add all options from a collection to this set.
 

Uses of Option in org.jboss.xnio.channels
 

Methods in org.jboss.xnio.channels with parameters of type Option
<T> T
Configurable.getOption(Option<T> option)
          Get the value of a channel option.
<T> Configurable
Configurable.setOption(Option<T> option, T value)
          Set an option for this channel.
 boolean Configurable.supportsOption(Option<?> option)
          Determine whether an option is supported on this channel.
 


XNIO API 2.1.0.CR2

Copyright © 2010 JBoss, a division of Red Hat, Inc.