ConnectParam.Builder |
ConnectParam.Builder.keepAliveWithoutCalls(boolean enable) |
Enables the keep-alive function for client channel.
|
static ConnectParam.Builder |
ConnectParam.newBuilder() |
|
ConnectParam.Builder |
ConnectParam.Builder.withConnectTimeout(long connectTimeout,
@NonNull TimeUnit timeUnit) |
Sets the connection timeout value of client channel.
|
ConnectParam.Builder |
ConnectParam.Builder.withHost(@NonNull String host) |
Sets the host name/address.
|
ConnectParam.Builder |
ConnectParam.Builder.withIdleTimeout(long idleTimeout,
@NonNull TimeUnit timeUnit) |
Sets the idle timeout value of client channel.
|
ConnectParam.Builder |
ConnectParam.Builder.withKeepAliveTime(long keepAliveTime,
@NonNull TimeUnit timeUnit) |
Sets the keep-alive time value of client channel.
|
ConnectParam.Builder |
ConnectParam.Builder.withKeepAliveTimeout(long keepAliveTimeout,
@NonNull TimeUnit timeUnit) |
Sets the keep-alive timeout value of client channel.
|
ConnectParam.Builder |
ConnectParam.Builder.withPort(int port) |
Sets the connection port.
|