public final class NettyTcpConnection extends NettyChannelConnection
| Modifier and Type | Method and Description |
|---|---|
boolean |
isUsingAcknowledgements()
Indicates whether this connection uses acknowledgements, e.g. by means of stream management or BOSH acks.
|
void |
secureConnection()
Secures the connection with TLS.
|
closeFuture, compressConnection, flush, getRemoteAddress, isSecure, open, send, toString, writeclose, closeAsync, closeAsync, getConfiguration, getStreamIdequals, getClass, hashCode, notify, notifyAll, wait, wait, waitclose, closeAsync, closeAsync, getConfiguration, getStreamIdpublic final void secureConnection()
throws java.security.NoSuchAlgorithmException
TcpBindingSecures the connection with TLS.
secureConnection in interface TcpBindingsecureConnection in class NettyChannelConnectionjava.security.NoSuchAlgorithmExceptionpublic final boolean isUsingAcknowledgements()
ConnectionIndicates whether this connection uses acknowledgements, e.g. by means of stream management or BOSH acks.
isUsingAcknowledgements in interface ConnectionisUsingAcknowledgements in class AbstractConnectionCopyright © 2014–2019 XMPP.rocks. All rights reserved.