Closeable, AutoCloseable, Channel, InterruptibleChannel, NetworkChannelclass 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, isOpenblockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitregisterbind, open, validOpspublic SSLServerSocketChannel(SSLServerSocket socket)
public SocketChannel accept() throws IOException
accept in class ServerSocketChannelIOExceptionpublic ServerSocket socket()
socket in class ServerSocketChannelpublic ServerSocketChannel bind(SocketAddress local, int backlog)
bind in class ServerSocketChannelpublic <T> ServerSocketChannel setOption(SocketOption<T> name, T value)
setOption in interface NetworkChannelsetOption in class ServerSocketChannelpublic void implCloseSelectableChannel()
throws IOException
implCloseSelectableChannel in class AbstractSelectableChannelIOExceptionpublic void implConfigureBlocking(boolean block)
throws IOException
implConfigureBlocking in class AbstractSelectableChannelIOExceptionpublic SocketAddress getLocalAddress()
getLocalAddress in interface NetworkChannelgetLocalAddress in class ServerSocketChannelpublic <T> T getOption(SocketOption<T> name)
public Set<SocketOption<?>> supportedOptions()