public final class NettyClient extends Object
Modifier and Type | Field and Description |
---|---|
static long |
TIMEOUT_MS
The maximum number of milliseconds to wait for a response from the server.
|
Constructor and Description |
---|
NettyClient() |
Modifier and Type | Method and Description |
---|---|
static io.netty.bootstrap.Bootstrap |
createClientBootstrap(ClientHandler handler)
Creates and returns a new Netty client bootstrap for clients to connect to remote servers.
|
public static final long TIMEOUT_MS
public static io.netty.bootstrap.Bootstrap createClientBootstrap(ClientHandler handler)
handler
- the handler that should be added to new channel pipelinesBootstrap
Copyright © 2015. All Rights Reserved.