|
DRAFT-b102 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Package | Description |
|---|---|
| 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. |
| java.nio.channels.spi | Service-provider classes for the java.nio.channels package. |
| Uses of ServerSocketChannel in java.nio.channels |
|---|
| Modifier and Type | Method and Description | |
|---|---|---|
ServerSocketChannel |
ServerSocketChannel.bind(SocketAddress local)
Binds the channel's socket to a local address and configures the socket to listen for connections. |
|
ServerSocketChannel |
ServerSocketChannel.bind(SocketAddress local,
int backlog)
Binds the channel's socket to a local address and configures the socket to listen for connections. |
|
static ServerSocketChannel |
ServerSocketChannel.open()
Opens a server-socket channel. |
|
|
ServerSocketChannel.setOption(SocketOption<T> name,
T value)
Sets the value of a socket option. |
| Uses of ServerSocketChannel in java.nio.channels.spi |
|---|
| Modifier and Type | Method and Description |
|---|---|
abstract ServerSocketChannel |
SelectorProvider.openServerSocketChannel()
Opens a server-socket channel. |
|
DRAFT-b102 |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||