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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate JSSEngineprivate ServerSocketChannelprivate ServerSocketprivate JSSServerSocket -
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) Collection<? extends EventListener>Gets the current list of event listeners this SSLSocket will fire on certain events.<T> TgetOption(SocketOption<T> name) voidvoidimplConfigureBlocking(boolean block) voidsetListeners(Collection<? extends EventListener> listeners) Set the listeners this SSLSocket will fire on certain events.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
-
Field Details
-
sslSocket
-
parent
-
parentSocket
-
engine
-
-
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
-
setListeners
Set the listeners this SSLSocket will fire on certain events.- See Also:
-
getListeners
Gets the current list of event listeners this SSLSocket will fire on certain events.- See Also:
-
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
-