Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Package | Description |
---|---|
java.net | Provides the classes for implementing networking applications. |
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 java.net |
---|
Modifier and Type | Field and Description |
---|---|
static SocketOption<NetworkInterface> |
StandardSocketOption.IP_MULTICAST_IF
The network interface for Internet Protocol (IP) multicast datagrams. |
static SocketOption<Boolean> |
StandardSocketOption.IP_MULTICAST_LOOP
Loopback for Internet Protocol (IP) multicast datagrams. |
static SocketOption<Integer> |
StandardSocketOption.IP_MULTICAST_TTL
The time-to-live for Internet Protocol (IP) multicast datagrams. |
static SocketOption<Integer> |
StandardSocketOption.IP_TOS
The Type of Service (ToS) octet in the Internet Protocol (IP) header. |
static SocketOption<Boolean> |
StandardSocketOption.SO_BROADCAST
Allow transmission of broadcast datagrams. |
static SocketOption<Boolean> |
StandardSocketOption.SO_KEEPALIVE
Keep connection alive. |
static SocketOption<Integer> |
StandardSocketOption.SO_LINGER
Linger on close if data is present. |
static SocketOption<Integer> |
StandardSocketOption.SO_RCVBUF
The size of the socket receive buffer. |
static SocketOption<Boolean> |
StandardSocketOption.SO_REUSEADDR
Re-use address. |
static SocketOption<Integer> |
StandardSocketOption.SO_SNDBUF
The size of the socket send buffer. |
static SocketOption<Boolean> |
StandardSocketOption.TCP_NODELAY
Disable the Nagle algorithm. |
Uses of SocketOption in java.nio.channels |
---|
Modifier and Type | Method and Description |
---|---|
Set<SocketOption<?>> |
NetworkChannel.supportedOptions()
Returns a set of the socket options supported by this channel. |
Modifier and Type | Method and Description | |
---|---|---|
|
NetworkChannel.getOption(SocketOption<T> name)
Returns the value of a socket option. |
|
abstract
|
AsynchronousSocketChannel.setOption(SocketOption<T> name,
T value)
|
|
abstract
|
AsynchronousServerSocketChannel.setOption(SocketOption<T> name,
T value)
|
|
abstract
|
SocketChannel.setOption(SocketOption<T> name,
T value)
|
|
abstract
|
ServerSocketChannel.setOption(SocketOption<T> name,
T value)
|
|
|
NetworkChannel.setOption(SocketOption<T> name,
T value)
Sets the value of a socket option. |
|
abstract
|
DatagramChannel.setOption(SocketOption<T> name,
T value)
|
|
Java™ Platform Standard Ed. 7 DRAFT ea-b118 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Copyright © 1993, 2010, Oracle Corporation. All rights reserved.