|
NIO2 API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use SocketOption | |
|---|---|
| org.classpath.icedtea.java.net | |
| org.classpath.icedtea.java.nio.channels | Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations. |
| Uses of SocketOption in org.classpath.icedtea.java.net |
|---|
| Fields in org.classpath.icedtea.java.net declared as SocketOption | |
|---|---|
static SocketOption<java.net.NetworkInterface> |
StandardSocketOption.IP_MULTICAST_IF
The network interface for Internet Protocol (IP) multicast datagrams. |
static SocketOption<java.lang.Boolean> |
StandardSocketOption.IP_MULTICAST_LOOP
Loopback for Internet Protocol (IP) multicast datagrams. |
static SocketOption<java.lang.Integer> |
StandardSocketOption.IP_MULTICAST_TTL
The time-to-live for Internet Protocol (IP) multicast datagrams. |
static SocketOption<java.lang.Integer> |
StandardSocketOption.IP_TOS
The Type of Service (ToS) octet in the Internet Protocol (IP) header. |
static SocketOption<java.lang.Boolean> |
StandardSocketOption.SO_BROADCAST
Allow transmission of broadcast datagrams. |
static SocketOption<java.lang.Boolean> |
StandardSocketOption.SO_KEEPALIVE
Keep connection alive. |
static SocketOption<java.lang.Integer> |
StandardSocketOption.SO_LINGER
Linger on close if data is present. |
static SocketOption<java.lang.Integer> |
StandardSocketOption.SO_RCVBUF
The size of the socket receive buffer. |
static SocketOption<java.lang.Boolean> |
StandardSocketOption.SO_REUSEADDR
Re-use address. |
static SocketOption<java.lang.Integer> |
StandardSocketOption.SO_SNDBUF
The size of the socket send buffer. |
static SocketOption<java.lang.Boolean> |
StandardSocketOption.TCP_NODELAY
Disable the Nagle algorithm. |
| Uses of SocketOption in org.classpath.icedtea.java.nio.channels |
|---|
| Methods in org.classpath.icedtea.java.nio.channels that return types with arguments of type SocketOption | |
|---|---|
java.util.Set<SocketOption<?>> |
NetworkChannel.supportedOptions()
Returns a set of the socket options supported by this channel. |
| Methods in org.classpath.icedtea.java.nio.channels with parameters of type SocketOption | ||
|---|---|---|
|
NetworkChannel.getOption(SocketOption<T> name)
Returns the value of a socket option. |
|
|
NetworkChannel.setOption(SocketOption<T> name,
T value)
Sets the value of a socket option. |
|
abstract
|
DatagramChannel.setOption(SocketOption<T> name,
T value)
|
|
abstract
|
AsynchronousSocketChannel.setOption(SocketOption<T> name,
T value)
|
|
abstract
|
AsynchronousServerSocketChannel.setOption(SocketOption<T> name,
T value)
|
|
abstract
|
AsynchronousDatagramChannel.setOption(SocketOption<T> name,
T value)
|
|
|
NIO2 API | |||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
Copyright 2010 Sun Microsystems, Inc. All rights reserved. Use is subject to the terms of the GNU General Public License.