Package net.i2p.sam
Class SSLServerSocketChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,InterruptibleChannel
,NetworkChannel
Simple wrapper for a SSLServerSocket.
Cannot be used for asynch ops.
- Since:
- 0.9.24
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaccept()
bind
(SocketAddress local, int backlog) requires Java 7<T> T
getOption
(SocketOption<T> name) void
void
implConfigureBlocking
(boolean block) setOption
(SocketOption<T> name, T value) requires Java 7socket()
Set<SocketOption<?>>
Methods inherited from class java.nio.channels.ServerSocketChannel
bind, open, open, validOps
Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
Methods inherited from class java.nio.channels.SelectableChannel
register
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
Constructor Details
-
SSLServerSocketChannel
-
-
Method Details
-
accept
- Specified by:
accept
in classServerSocketChannel
- Throws:
IOException
-
socket
- Specified by:
socket
in classServerSocketChannel
-
bind
requires Java 7- Specified by:
bind
in classServerSocketChannel
-
setOption
requires Java 7- Specified by:
setOption
in interfaceNetworkChannel
- Specified by:
setOption
in classServerSocketChannel
-
implCloseSelectableChannel
- Specified by:
implCloseSelectableChannel
in classAbstractSelectableChannel
- Throws:
IOException
-
implConfigureBlocking
- Specified by:
implConfigureBlocking
in classAbstractSelectableChannel
- Throws:
IOException
-
getLocalAddress
- Specified by:
getLocalAddress
in interfaceNetworkChannel
- Specified by:
getLocalAddress
in classServerSocketChannel
-
getOption
-
supportedOptions
-