|
XNIO API 3.0.4.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SslChannel

A channel which can use SSL/TLS to negotiate a security layer.
| Method Summary | |
|---|---|
ChannelListener.Setter<? extends SslChannel> |
getCloseSetter()
Get the setter which can be used to change the close listener for this channel. |
ChannelListener.Setter<? extends SslChannel> |
getHandshakeSetter()
Get the setter which can be used to change the handshake listener for this channel. |
SSLSession |
getSslSession()
Get the current SSLSession for this channel. |
void |
startHandshake()
Start or restart the SSL/TLS handshake. |
| Methods inherited from interface org.xnio.channels.CloseableChannel |
|---|
close, getWorker |
| Methods inherited from interface java.nio.channels.Channel |
|---|
isOpen |
| Methods inherited from interface org.xnio.channels.Configurable |
|---|
getOption, setOption, supportsOption |
| Method Detail |
|---|
void startHandshake()
throws IOException
IOException - if an I/O error occursSSLSession getSslSession()
SSLSession for this channel.
SSLSessionChannelListener.Setter<? extends SslChannel> getCloseSetter()
getCloseSetter in interface CloseableChannelChannelListener.Setter<? extends SslChannel> getHandshakeSetter()
|
XNIO API 3.0.4.GA | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||