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, write
close, closeAsync, closeAsync, getConfiguration, getStreamId
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
close, closeAsync, closeAsync, getConfiguration, getStreamId
public final void secureConnection() throws java.security.NoSuchAlgorithmException
TcpBinding
Secures the connection with TLS.
secureConnection
in interface TcpBinding
secureConnection
in class NettyChannelConnection
java.security.NoSuchAlgorithmException
public final boolean isUsingAcknowledgements()
Connection
Indicates whether this connection uses acknowledgements, e.g. by means of stream management or BOSH acks.
isUsingAcknowledgements
in interface Connection
isUsingAcknowledgements
in class AbstractConnection
Copyright © 2014–2019 XMPP.rocks. All rights reserved.