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> TgetOption(SocketOption<T> name) voidvoidimplConfigureBlocking(boolean block) setOption(SocketOption<T> name, T value) socket()Set<SocketOption<?>>Methods inherited from class java.nio.channels.ServerSocketChannel
bind, open, open, validOpsMethods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerMethods inherited from class java.nio.channels.SelectableChannel
registerMethods 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:
acceptin classServerSocketChannel- Throws:
IOException
-
bind
- Specified by:
bindin classServerSocketChannel- Throws:
IOException
-
getOption
- Throws:
IOException
-
supportedOptions
-
setOption
- Specified by:
setOptionin interfaceNetworkChannel- Specified by:
setOptionin classServerSocketChannel- Throws:
IOException
-
socket
- Specified by:
socketin classServerSocketChannel
-
getLocalAddress
- Specified by:
getLocalAddressin interfaceNetworkChannel- Specified by:
getLocalAddressin classServerSocketChannel- Throws:
IOException
-
implCloseSelectableChannel
- Specified by:
implCloseSelectableChannelin classAbstractSelectableChannel- Throws:
IOException
-
implConfigureBlocking
- Specified by:
implConfigureBlockingin classAbstractSelectableChannel- Throws:
IOException
-