public class AssembledConnectedSslStreamChannel extends AssembledConnectedStreamChannel implements ConnectedSslStreamChannel
EMPTY
Constructor and Description |
---|
AssembledConnectedSslStreamChannel(SslChannel sslChannel,
StreamSourceChannel source,
StreamSinkChannel sink)
Construct a new instance.
|
AssembledConnectedSslStreamChannel(StreamSourceChannel source,
StreamSinkChannel sink)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel.
|
ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> |
getHandshakeSetter()
Get the setter which can be used to change the handshake listener for this channel.
|
ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> |
getReadSetter()
Get the setter which can be used to change the read listener for this channel.
|
SSLSession |
getSslSession()
Get the current
SSLSession for this channel. |
ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> |
getWriteSetter()
Get the setter which can be used to change the write listener for this channel.
|
void |
startHandshake()
Start or restart the SSL/TLS handshake.
|
getLocalAddress, getLocalAddress, getPeerAddress, getPeerAddress
awaitReadable, awaitReadable, awaitWritable, awaitWritable, close, flush, getIoThread, getOption, getReadThread, getWorker, getWriteThread, isOpen, isReadResumed, isWriteResumed, read, read, read, resumeReads, resumeWrites, setOption, shutdownReads, shutdownWrites, supportsOption, suspendReads, suspendWrites, transferFrom, transferFrom, transferTo, transferTo, wakeupReads, wakeupWrites, write, write, write, writeFinal, writeFinal, writeFinal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
transferFrom, transferFrom, writeFinal, writeFinal, writeFinal
awaitWritable, awaitWritable, close, flush, getWriteThread, isOpen, isWriteResumed, resumeWrites, shutdownWrites, suspendWrites, wakeupWrites
transferTo, transferTo
awaitReadable, awaitReadable, getReadThread, isReadResumed, resumeReads, shutdownReads, suspendReads, wakeupReads
getIoThread, getWorker
getOption, setOption, supportsOption
write, write
write
read, read
read
getPeerAddress, getPeerAddress
getLocalAddress, getLocalAddress
public AssembledConnectedSslStreamChannel(SslChannel sslChannel, StreamSourceChannel source, StreamSinkChannel sink)
sslChannel
- the SSL channelsource
- the sourcesink
- the sinkpublic AssembledConnectedSslStreamChannel(StreamSourceChannel source, StreamSinkChannel sink)
source
- the sourcesink
- the sinkpublic void startHandshake() throws IOException
SslChannel
startHandshake
in interface SslChannel
IOException
- if an I/O error occurspublic SSLSession getSslSession()
SslChannel
SSLSession
for this channel.getSslSession
in interface SslChannel
SSLSession
public ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> getHandshakeSetter()
SslChannel
getHandshakeSetter
in interface SslChannel
public ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> getCloseSetter()
StreamChannel
getCloseSetter
in interface BoundChannel
getCloseSetter
in interface CloseableChannel
getCloseSetter
in interface ConnectedChannel
getCloseSetter
in interface ConnectedSslStreamChannel
getCloseSetter
in interface ConnectedStreamChannel
getCloseSetter
in interface SslChannel
getCloseSetter
in interface StreamChannel
getCloseSetter
in interface StreamSinkChannel
getCloseSetter
in interface StreamSourceChannel
getCloseSetter
in interface SuspendableChannel
getCloseSetter
in interface SuspendableReadChannel
getCloseSetter
in interface SuspendableWriteChannel
getCloseSetter
in class AssembledConnectedStreamChannel
public ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> getReadSetter()
StreamChannel
getReadSetter
in interface ConnectedSslStreamChannel
getReadSetter
in interface ConnectedStreamChannel
getReadSetter
in interface StreamChannel
getReadSetter
in interface StreamSourceChannel
getReadSetter
in interface SuspendableChannel
getReadSetter
in interface SuspendableReadChannel
getReadSetter
in class AssembledConnectedStreamChannel
public ChannelListener.Setter<? extends AssembledConnectedSslStreamChannel> getWriteSetter()
StreamChannel
getWriteSetter
in interface ConnectedSslStreamChannel
getWriteSetter
in interface ConnectedStreamChannel
getWriteSetter
in interface StreamChannel
getWriteSetter
in interface StreamSinkChannel
getWriteSetter
in interface SuspendableChannel
getWriteSetter
in interface SuspendableWriteChannel
getWriteSetter
in class AssembledConnectedStreamChannel
Copyright © 2019 JBoss by Red Hat. All rights reserved.