| Modifier and Type | Field and Description |
|---|---|
| private final ChannelListener. | |
| protected final Pool | applicationBufferPool
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private volatile String[] | |
| private static final AtomicReferenceFieldUpdater | |
| private volatile SslClientAuthMode | |
| private static final AtomicReferenceFieldUpdater | |
| private final ChannelListener. | |
| private volatile int | |
| private static final AtomicIntegerFieldUpdater | |
| private volatile String[] | |
| private static final AtomicReferenceFieldUpdater | |
| protected final Pool | socketBufferPool
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| private final SSLContext | |
| protected final boolean | |
| private static final Set | |
| private final AcceptingChannel | |
| private volatile int | |
| private static final AtomicIntegerFieldUpdater |
| Access | Constructor and Description |
|---|---|
| pack-priv | AbstractAcceptingSslChannel(final SSLContext sslContext, final AcceptingChannel<? extends S> tcpServer, final OptionMap optionMap, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)
References Deprecated
Pool is deprecated or references (maybe indirectly) at least one deprecated element.
|
| Modifier and Type | Method and Description |
|---|---|
| public C | |
| protected abstract C | |
| public void | awaitAcceptable()
Implements org. Block until this channel becomes acceptable again. |
| public void | awaitAcceptable(final long
the time to wait time, final TimeUnit the time unit timeUnit)Implements org. Block until this channel becomes acceptable again, or until the timeout expires. |
| public void | |
| public ChannelListener. | getAcceptSetter()
Implements org. Get the setter which can be used to change the accept listener for this channel. |
| public XnioExecutor | getAcceptThread()
Implements org.
Deprecated
Get an accept thread for this channel. |
| public ChannelListener. | getCloseSetter()
Implements org. Get the setter which can be used to change the close listener for this channel. |
| public XnioIoThread | getIoThread()
Implements org. Get the I/O thread associated with this channel. |
| public SocketAddress | getLocalAddress()
Implements org. Get the local address that this channel is bound to. |
| public <A extends SocketAddress> A | getLocalAddress(final Class<A>
the address type class type)Implements org. Get the local address of a given type, or |
| public <T> T | getOption(final Option<T>
the option to get option)Implements org. Get the value of a channel option. |
| public XnioWorker | getWorker()
Implements org. Get the worker for this channel. |
| public boolean | isAcceptResumed()
Implements org. Determine whether accepts are resumed. |
| public boolean | |
| public void | resumeAccepts()
Implements org. Resume reads on this channel. |
| public <T> T | setOption(final Option<T>
the option to set option, final T the value of the option to set value)Implements org. Set an option for this channel. |
| public boolean | supportsOption(final Option<?>
the option option)Implements org. Determine whether an option is supported on this channel. |
| public void | suspendAccepts()
Implements org. Suspend further read notifications on this channel. |
| public void | wakeupAccepts()
Implements org.
|
| acceptSetter | back to summary |
|---|---|
| private final ChannelListener. | |
| applicationBufferPool | back to summary |
|---|---|
| protected final Pool<ByteBuffer> applicationBufferPool
References Deprecated
See corresponding docs for further information. | |
| cipherSuites | back to summary |
|---|---|
| private volatile String[] cipherSuites | |
| cipherSuitesUpdater | back to summary |
|---|---|
private static final AtomicReferenceFieldUpdater<AbstractAcceptingSslChannel<C extends ConnectedChannel, S extends ConnectedChannel>, String[]> cipherSuitesUpdater
| |
| clientAuthMode | back to summary |
|---|---|
| private volatile SslClientAuthMode clientAuthMode | |
| clientAuthModeUpdater | back to summary |
|---|---|
private static final AtomicReferenceFieldUpdater<AbstractAcceptingSslChannel<C extends ConnectedChannel, S extends ConnectedChannel>, SslClientAuthMode> clientAuthModeUpdater
| |
| closeSetter | back to summary |
|---|---|
| private final ChannelListener. | |
| enableSessionCreation | back to summary |
|---|---|
| private volatile int enableSessionCreation | |
| enableSessionCreationUpdater | back to summary |
|---|---|
private static final AtomicIntegerFieldUpdater<AbstractAcceptingSslChannel<C extends ConnectedChannel, S extends ConnectedChannel>> enableSessionCreationUpdater
| |
| protocols | back to summary |
|---|---|
| private volatile String[] protocols | |
| protocolsUpdater | back to summary |
|---|---|
private static final AtomicReferenceFieldUpdater<AbstractAcceptingSslChannel<C extends ConnectedChannel, S extends ConnectedChannel>, String[]> protocolsUpdater
| |
| socketBufferPool | back to summary |
|---|---|
| protected final Pool<ByteBuffer> socketBufferPool
References Deprecated
See corresponding docs for further information. | |
| sslContext | back to summary |
|---|---|
| private final SSLContext sslContext | |
| startTls | back to summary |
|---|---|
| protected final boolean startTls | |
| SUPPORTED_OPTIONS | back to summary |
|---|---|
| private static final Set<Option<?>> SUPPORTED_OPTIONS | |
| tcpServer | back to summary |
|---|---|
| private final AcceptingChannel<? extends S> tcpServer | |
| useClientMode | back to summary |
|---|---|
| private volatile int useClientMode | |
| useClientModeUpdater | back to summary |
|---|---|
private static final AtomicIntegerFieldUpdater<AbstractAcceptingSslChannel<C extends ConnectedChannel, S extends ConnectedChannel>> useClientModeUpdater
| |
| AbstractAcceptingSslChannel | back to summary |
|---|---|
| pack-priv AbstractAcceptingSslChannel(final SSLContext sslContext, final AcceptingChannel<? extends S> tcpServer, final OptionMap optionMap, final Pool<ByteBuffer> socketBufferPool, final Pool<ByteBuffer> applicationBufferPool, final boolean startTls)
References Deprecated
See corresponding docs for further information. | |
| accept | back to summary |
|---|---|
| public C accept() throws IOException Implements org. Doc from org. Attempt to accept a connection.
| |
| accept | back to summary |
|---|---|
| protected abstract C accept(S tcpServer, SSLEngine sslEngine) throws IOException | |
| awaitAcceptable | back to summary |
|---|---|
| public void awaitAcceptable() throws IOException Implements org. Doc from org. Block until this channel becomes acceptable again. This method may return spuriously before the channel becomes acceptable.
| |
| awaitAcceptable | back to summary |
|---|---|
| public void awaitAcceptable(final long time, final TimeUnit timeUnit) throws IOException Implements org. Doc from org. Block until this channel becomes acceptable again, or until the timeout expires. This method may return spuriously before the channel becomes acceptable or the timeout expires.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements org. Doc from org. Close this channel. When a channel is closed, its close listener is invoked. Invoking this method more than once has no additional effect.
| |
| getAcceptSetter | back to summary |
|---|---|
| public ChannelListener. Implements org. Doc from org. Get the setter which can be used to change the accept listener for this channel.
| |
| getAcceptThread | back to summary |
|---|---|
| public XnioExecutor getAcceptThread() Implements org. Doc from org. Deprecated
Get an accept thread for this channel. If more than one is configured, any of them may be returned.
| |
| getCloseSetter | back to summary |
|---|---|
| public ChannelListener. Implements org. Doc from org. Get the setter which can be used to change the close listener for this channel. If the channel is already closed, then the listener will not be called.
| |
| getIoThread | back to summary |
|---|---|
| public XnioIoThread getIoThread() Implements org. Doc from org. Get the I/O thread associated with this channel.
| |
| getLocalAddress | back to summary |
|---|---|
| public SocketAddress getLocalAddress() Implements org. Doc from org. Get the local address that this channel is bound to.
| |
| getLocalAddress | back to summary |
|---|---|
| public <A extends SocketAddress> A getLocalAddress(final Class<A> type) Implements org. Doc from org. Get the local address of a given type, or
| |
| getOption | back to summary |
|---|---|
| public <T> T getOption(final Option<T> option) throws IOException Implements org. Doc from org. Get the value of a channel option.
| |
| getWorker | back to summary |
|---|---|
| public XnioWorker getWorker() Implements org. Doc from org. Get the worker for this channel.
| |
| isAcceptResumed | back to summary |
|---|---|
| public boolean isAcceptResumed() Implements org. Doc from org. Determine whether accepts are resumed.
| |
| isOpen | back to summary |
|---|---|
| public boolean isOpen() Implements java. Doc from java. Tells whether or not this channel is open.
| |
| resumeAccepts | back to summary |
|---|---|
| public void resumeAccepts() Implements org. Doc from org. Resume reads on this channel. The accept listener will be called as soon as there is a connection available to be accepted. | |
| setOption | back to summary |
|---|---|
| public <T> T setOption(final Option<T> option, final T value) throws IllegalArgumentException, IOException Implements org. Doc from org. Set an option for this channel. Unsupported options are ignored.
| |
| supportsOption | back to summary |
|---|---|
| public boolean supportsOption(final Option<?> option) Implements org. Doc from org. Determine whether an option is supported on this channel.
| |
| suspendAccepts | back to summary |
|---|---|
| public void suspendAccepts() Implements org. Doc from org. Suspend further read notifications on this channel. | |
| wakeupAccepts | back to summary |
|---|---|
| public void wakeupAccepts() Implements org. Doc from org.
| |