Closeable
, AutoCloseable
, Channel
, InterruptibleChannel
, NetworkChannel
class SSLServerSocketChannel extends ServerSocketChannel
Constructor | Description |
---|---|
SSLServerSocketChannel(SSLServerSocket socket) |
Modifier and Type | Method | 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() |
begin, close, end, isOpen
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
register
bind, open, validOps
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()