Package rocks.xmpp.nio.netty.client
Class NettyTcpConnectionConfiguration
- java.lang.Object
-
- rocks.xmpp.core.net.client.ClientConnectionConfiguration
-
- rocks.xmpp.nio.netty.client.NettyTcpConnectionConfiguration
-
- All Implemented Interfaces:
ConnectionConfiguration
@Deprecated(forRemoval=true) public final class NettyTcpConnectionConfiguration extends ClientConnectionConfiguration
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NettyTcpConnectionConfiguration.Builder
Deprecated, for removal: This API element is subject to removal in a future version.A builder to create aNettyTcpConnectionConfiguration
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static NettyTcpConnectionConfiguration.Builder
builder()
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new builder for this class.CompletableFuture<Connection>
createConnection(XmppSession xmppSession, SessionOpen sessionOpen)
Deprecated, for removal: This API element is subject to removal in a future version.A factory method to create the connection.io.netty.channel.EventLoopGroup
getEventLoopGroup()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the event loop group.String
toString()
Deprecated, for removal: This API element is subject to removal in a future version.-
Methods inherited from class rocks.xmpp.core.net.client.ClientConnectionConfiguration
getChannelEncryption, getCompressionMethods, getConnectTimeout, getHostname, getHostnameVerifier, getPort, getProxy, getSSLContext
-
-
-
-
Method Detail
-
builder
public static NettyTcpConnectionConfiguration.Builder builder()
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new builder for this class.- Returns:
- The builder.
-
createConnection
public final CompletableFuture<Connection> createConnection(XmppSession xmppSession, SessionOpen sessionOpen)
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from class:ClientConnectionConfiguration
A factory method to create the connection.- Specified by:
createConnection
in classClientConnectionConfiguration
- Parameters:
xmppSession
- The XMPP session, which is associated with the connection.sessionOpen
- The session open element.- Returns:
- The connection.
-
getEventLoopGroup
public final io.netty.channel.EventLoopGroup getEventLoopGroup()
Deprecated, for removal: This API element is subject to removal in a future version.Gets the event loop group.- Returns:
- The event loop group.
-
toString
public final String toString()
Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
toString
in classClientConnectionConfiguration
-
-