public final class NettyTcpConnectionConfiguration extends TcpConnectionConfiguration<io.netty.channel.Channel>
Modifier and Type | Class and Description |
---|---|
static class |
NettyTcpConnectionConfiguration.Builder
A builder to create a
NettyTcpConnectionConfiguration instance. |
Modifier and Type | Method and Description |
---|---|
static NettyTcpConnectionConfiguration.Builder |
builder()
Creates a new builder for this class.
|
Connection |
createConnection(XmppSession xmppSession)
A factory method to create the connection.
|
io.netty.channel.EventLoopGroup |
getEventLoopGroup()
Gets the event loop group.
|
java.lang.String |
toString() |
getKeepAliveInterval
getChannelEncryption, getCompressionMethods, getConnectTimeout, getHostname, getHostnameVerifier, getPort, getProxy, getSSLContext
public static NettyTcpConnectionConfiguration.Builder builder()
Creates a new builder for this class.
public final Connection createConnection(XmppSession xmppSession) throws java.lang.Exception
ClientConnectionConfiguration
A factory method to create the connection.
createConnection
in class ClientConnectionConfiguration
xmppSession
- The XMPP session, which is associated with the connection.java.lang.Exception
- Any exception which may occur during connection establishment.public final io.netty.channel.EventLoopGroup getEventLoopGroup()
Gets the event loop group.
public final java.lang.String toString()
toString
in class ClientConnectionConfiguration
Copyright © 2014–2019 XMPP.rocks. All rights reserved.