public abstract static class TcpConnectionConfiguration.Builder<T extends TcpConnectionConfiguration.Builder<T>> extends ClientConnectionConfiguration.Builder<T>
A builder to create a TcpConnectionConfiguration
instance.
Modifier and Type | Method and Description |
---|---|
TcpConnectionConfiguration.Builder |
keepAliveInterval(int keepAliveInterval)
Sets the whitespace keep-alive interval in seconds.
|
build, channelEncryption, compressionMethods, connectTimeout, hostname, hostnameVerifier, port, proxy, secure, sslContext
public final TcpConnectionConfiguration.Builder keepAliveInterval(int keepAliveInterval)
Sets the whitespace keep-alive interval in seconds. If the interval is negative, no whitespace will be sent at all.
keepAliveInterval
- The whitespace keep-alive interval.Copyright © 2014–2019 XMPP.rocks. All rights reserved.