public class JSSServerSocketChannel
extends java.nio.channels.ServerSocketChannel
| Constructor and Description |
|---|
JSSServerSocketChannel(JSSServerSocket sslSocket,
java.nio.channels.ServerSocketChannel parent,
JSSEngine engine) |
JSSServerSocketChannel(JSSServerSocket sslSocket,
java.net.ServerSocket parentSocket,
JSSEngine engine) |
| Modifier and Type | Method and Description |
|---|---|
JSSSocketChannel |
accept() |
JSSServerSocketChannel |
bind(java.net.SocketAddress local,
int backlog) |
java.util.Collection<? extends java.util.EventListener> |
getListeners()
Gets the current list of event listeners this SSLSocket will fire on
certain events.
|
java.net.SocketAddress |
getLocalAddress() |
<T> T |
getOption(java.net.SocketOption<T> name) |
void |
implCloseSelectableChannel() |
void |
implConfigureBlocking(boolean block) |
void |
setListeners(java.util.Collection<? extends java.util.EventListener> listeners)
Set the listeners this SSLSocket will fire on certain events.
|
<T> JSSServerSocketChannel |
setOption(java.net.SocketOption<T> name,
T value) |
JSSServerSocket |
socket() |
java.util.Set<java.net.SocketOption<?>> |
supportedOptions() |
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, registerbegin, close, end, isOpenpublic JSSServerSocketChannel(JSSServerSocket sslSocket, java.nio.channels.ServerSocketChannel parent, JSSEngine engine) throws java.io.IOException
java.io.IOExceptionpublic JSSServerSocketChannel(JSSServerSocket sslSocket, java.net.ServerSocket parentSocket, JSSEngine engine) throws java.io.IOException
java.io.IOExceptionpublic JSSSocketChannel accept() throws java.io.IOException
accept in class java.nio.channels.ServerSocketChanneljava.io.IOExceptionpublic JSSServerSocketChannel bind(java.net.SocketAddress local, int backlog) throws java.io.IOException
bind in class java.nio.channels.ServerSocketChanneljava.io.IOExceptionpublic void setListeners(java.util.Collection<? extends java.util.EventListener> listeners)
JSSEngine.setListeners(Collection)public java.util.Collection<? extends java.util.EventListener> getListeners()
JSSEngine.getListeners()public <T> T getOption(java.net.SocketOption<T> name)
throws java.io.IOException
java.io.IOExceptionpublic java.util.Set<java.net.SocketOption<?>> supportedOptions()
public <T> JSSServerSocketChannel setOption(java.net.SocketOption<T> name, T value) throws java.io.IOException
setOption in interface java.nio.channels.NetworkChannelsetOption in class java.nio.channels.ServerSocketChanneljava.io.IOExceptionpublic JSSServerSocket socket()
socket in class java.nio.channels.ServerSocketChannelpublic java.net.SocketAddress getLocalAddress()
throws java.io.IOException
getLocalAddress in interface java.nio.channels.NetworkChannelgetLocalAddress in class java.nio.channels.ServerSocketChanneljava.io.IOExceptionpublic void implCloseSelectableChannel()
throws java.io.IOException
implCloseSelectableChannel in class java.nio.channels.spi.AbstractSelectableChanneljava.io.IOExceptionpublic void implConfigureBlocking(boolean block)
throws java.io.IOException
implConfigureBlocking in class java.nio.channels.spi.AbstractSelectableChanneljava.io.IOException