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:
java.io.Closeable,java.lang.AutoCloseable,java.nio.channels.Channel,java.nio.channels.InterruptibleChannel,java.nio.channels.NetworkChannel
public class JSSServerSocketChannel extends java.nio.channels.ServerSocketChannel
-
-
Constructor Summary
Constructors Constructor Description JSSServerSocketChannel(JSSServerSocket sslSocket, java.net.ServerSocket parentSocket, JSSEngine engine)JSSServerSocketChannel(JSSServerSocket sslSocket, java.nio.channels.ServerSocketChannel parent, JSSEngine engine)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSSSocketChannelaccept()JSSServerSocketChannelbind(java.net.SocketAddress local, int backlog)java.net.SocketAddressgetLocalAddress()<T> TgetOption(java.net.SocketOption<T> name)voidimplCloseSelectableChannel()voidimplConfigureBlocking(boolean block)<T> JSSServerSocketChannelsetOption(java.net.SocketOption<T> name, T value)JSSServerSocketsocket()java.util.Set<java.net.SocketOption<?>>supportedOptions()-
Methods inherited from class java.nio.channels.spi.AbstractSelectableChannel
blockingLock, configureBlocking, implCloseChannel, isBlocking, isRegistered, keyFor, provider, register
-
Methods inherited from class java.nio.channels.spi.AbstractInterruptibleChannel
begin, close, end, isOpen
-
-
-
-
Constructor Detail
-
JSSServerSocketChannel
public JSSServerSocketChannel(JSSServerSocket sslSocket, java.nio.channels.ServerSocketChannel parent, JSSEngine engine) throws java.io.IOException
- Throws:
java.io.IOException
-
JSSServerSocketChannel
public JSSServerSocketChannel(JSSServerSocket sslSocket, java.net.ServerSocket parentSocket, JSSEngine engine) throws java.io.IOException
- Throws:
java.io.IOException
-
-
Method Detail
-
accept
public JSSSocketChannel accept() throws java.io.IOException
- Specified by:
acceptin classjava.nio.channels.ServerSocketChannel- Throws:
java.io.IOException
-
bind
public JSSServerSocketChannel bind(java.net.SocketAddress local, int backlog) throws java.io.IOException
- Specified by:
bindin classjava.nio.channels.ServerSocketChannel- Throws:
java.io.IOException
-
getOption
public <T> T getOption(java.net.SocketOption<T> name) throws java.io.IOException- Throws:
java.io.IOException
-
supportedOptions
public java.util.Set<java.net.SocketOption<?>> supportedOptions()
-
setOption
public <T> JSSServerSocketChannel setOption(java.net.SocketOption<T> name, T value) throws java.io.IOException
- Specified by:
setOptionin interfacejava.nio.channels.NetworkChannel- Specified by:
setOptionin classjava.nio.channels.ServerSocketChannel- Throws:
java.io.IOException
-
socket
public JSSServerSocket socket()
- Specified by:
socketin classjava.nio.channels.ServerSocketChannel
-
getLocalAddress
public java.net.SocketAddress getLocalAddress() throws java.io.IOException- Specified by:
getLocalAddressin interfacejava.nio.channels.NetworkChannel- Specified by:
getLocalAddressin classjava.nio.channels.ServerSocketChannel- Throws:
java.io.IOException
-
implCloseSelectableChannel
public void implCloseSelectableChannel() throws java.io.IOException- Specified by:
implCloseSelectableChannelin classjava.nio.channels.spi.AbstractSelectableChannel- Throws:
java.io.IOException
-
implConfigureBlocking
public void implConfigureBlocking(boolean block) throws java.io.IOException- Specified by:
implConfigureBlockingin classjava.nio.channels.spi.AbstractSelectableChannel- Throws:
java.io.IOException
-
-