Package org.mozilla.jss.ssl.javax
Class JSSServerSocketChannel
java.lang.Object
java.nio.channels.spi.AbstractInterruptibleChannel
java.nio.channels.SelectableChannel
java.nio.channels.spi.AbstractSelectableChannel
java.nio.channels.ServerSocketChannel
org.mozilla.jss.ssl.javax.JSSServerSocketChannel
- All Implemented Interfaces:
Closeable
,AutoCloseable
,Channel
,InterruptibleChannel
,NetworkChannel
-
Constructor Summary
ConstructorsConstructorDescriptionJSSServerSocketChannel
(JSSServerSocket sslSocket, ServerSocket parentSocket, JSSEngine engine) JSSServerSocketChannel
(JSSServerSocket sslSocket, ServerSocketChannel parent, JSSEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionaccept()
bind
(SocketAddress local, int backlog) <T> T
getOption
(SocketOption<T> name) void
void
implConfigureBlocking
(boolean block) setOption
(SocketOption<T> name, T value) socket()
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
-
JSSServerSocketChannel
public JSSServerSocketChannel(JSSServerSocket sslSocket, ServerSocketChannel parent, JSSEngine engine) throws IOException - Throws:
IOException
-
JSSServerSocketChannel
public JSSServerSocketChannel(JSSServerSocket sslSocket, ServerSocket parentSocket, JSSEngine engine) throws IOException - Throws:
IOException
-
-
Method Details
-
accept
- Specified by:
accept
in classServerSocketChannel
- Throws:
IOException
-
bind
- Specified by:
bind
in classServerSocketChannel
- Throws:
IOException
-
getOption
- Throws:
IOException
-
supportedOptions
-
setOption
- Specified by:
setOption
in interfaceNetworkChannel
- Specified by:
setOption
in classServerSocketChannel
- Throws:
IOException
-
socket
- Specified by:
socket
in classServerSocketChannel
-
getLocalAddress
- Specified by:
getLocalAddress
in interfaceNetworkChannel
- Specified by:
getLocalAddress
in classServerSocketChannel
- Throws:
IOException
-
implCloseSelectableChannel
- Specified by:
implCloseSelectableChannel
in classAbstractSelectableChannel
- Throws:
IOException
-
implConfigureBlocking
- Specified by:
implConfigureBlocking
in classAbstractSelectableChannel
- Throws:
IOException
-