class SSLServerSocketChannel extends ServerSocketChannel
Constructor and Description |
---|
SSLServerSocketChannel(SSLServerSocket socket) |
Modifier and Type | Method and Description |
---|---|
SocketChannel |
accept() |
ServerSocketChannel |
bind(SocketAddress local,
int backlog)
requires Java 7
|
SocketAddress |
getLocalAddress() |
<T> T |
getOption(SocketOption<T> name) |
void |
implCloseSelectableChannel() |
void |
implConfigureBlocking(boolean block) |
<T> ServerSocketChannel |
setOption(SocketOption<T> name,
T value)
requires Java 7
|
ServerSocket |
socket() |
Set<SocketOption<?>> |
supportedOptions() |
bind, open, validOps
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
register
begin, close, end, isOpen
public SSLServerSocketChannel(SSLServerSocket socket)
public SocketChannel accept() throws IOException
accept
in class ServerSocketChannel
IOException
public ServerSocket socket()
socket
in class ServerSocketChannel
public ServerSocketChannel bind(SocketAddress local, int backlog)
bind
in class ServerSocketChannel
public <T> ServerSocketChannel setOption(SocketOption<T> name, T value)
setOption
in interface NetworkChannel
setOption
in class ServerSocketChannel
public void implCloseSelectableChannel() throws IOException
implCloseSelectableChannel
in class AbstractSelectableChannel
IOException
public void implConfigureBlocking(boolean block) throws IOException
implConfigureBlocking
in class AbstractSelectableChannel
IOException
public SocketAddress getLocalAddress()
getLocalAddress
in interface NetworkChannel
getLocalAddress
in class ServerSocketChannel
public <T> T getOption(SocketOption<T> name)
public Set<SocketOption<?>> supportedOptions()