Example usage for Java java.nio.channels ServerSocketChannel fields, constructors, methods, implement or subclass
The text is from its open source code.
SocketChannel | accept() Accepts a connection made to this channel's socket. |
ServerSocketChannel | bind(SocketAddress local) Binds the channel's socket to a local address and configures the socket to listen for connections. |
void | close() Closes this channel. |
SelectableChannel | configureBlocking(boolean block) Adjusts this channel's blocking mode. |
SocketAddress | getLocalAddress() If there is a security manager set, its checkConnect method is called with the local address and -1 as its arguments to see if the operation is allowed. |
T | getOption(SocketOption Returns the value of a socket option. |
ServerSocketChannel | open() Opens a server-socket channel. |
SelectionKey | register(Selector sel, int ops) Registers this channel with the given selector, returning a selection key. |
SelectionKey | register(Selector sel, int ops, Object att) Registers this channel with the given selector, returning a selection key. |
ServerSocketChannel | setOption(SocketOption |
ServerSocket | socket() Retrieves a server socket associated with this channel. |