Public Member Functions | |
void | addAllNamedChannelHandlers (List< NamedChannelHandler > namedChannelHandlers) |
void | addNamedChannelHandler (NamedChannelHandler namedChannelHandler) |
Channel | connect (String connectionName, SocketAddress socketAddress) |
void | setConnectionTimeout (long duration, TimeUnit unit) |
void | setKeepAlive (boolean value) |
TcpClient (ChannelGroup channelGroup, Executor executor) | |
ChannelFuture | write (ChannelBuffer buffer) |
Private Attributes | |
final ClientBootstrap | bootstrap |
Channel | channel |
final ChannelBufferFactory | channelBufferFactory |
final ChannelFactory | channelFactory |
final ChannelGroup | channelGroup |
final List< NamedChannelHandler > | namedChannelHandlers |
Static Private Attributes | |
static final boolean | DEBUG = false |
static final int | DEFAULT_CONNECTION_TIMEOUT_DURATION = 5 |
static final TimeUnit | DEFAULT_CONNECTION_TIMEOUT_UNIT = TimeUnit.SECONDS |
static final boolean | DEFAULT_KEEP_ALIVE = true |
static final Log | log = LogFactory.getLog(TcpClient.class) |
Definition at line 45 of file TcpClient.java.
org.ros.internal.transport.tcp.TcpClient.TcpClient | ( | ChannelGroup | channelGroup, |
Executor | executor | ||
) | [inline] |
Definition at line 62 of file TcpClient.java.
void org.ros.internal.transport.tcp.TcpClient.addAllNamedChannelHandlers | ( | List< NamedChannelHandler > | namedChannelHandlers | ) | [inline] |
Definition at line 85 of file TcpClient.java.
void org.ros.internal.transport.tcp.TcpClient.addNamedChannelHandler | ( | NamedChannelHandler | namedChannelHandler | ) | [inline] |
Definition at line 81 of file TcpClient.java.
Channel org.ros.internal.transport.tcp.TcpClient.connect | ( | String | connectionName, |
SocketAddress | socketAddress | ||
) | [inline] |
Definition at line 89 of file TcpClient.java.
void org.ros.internal.transport.tcp.TcpClient.setConnectionTimeout | ( | long | duration, |
TimeUnit | unit | ||
) | [inline] |
Definition at line 73 of file TcpClient.java.
void org.ros.internal.transport.tcp.TcpClient.setKeepAlive | ( | boolean | value | ) | [inline] |
Definition at line 77 of file TcpClient.java.
ChannelFuture org.ros.internal.transport.tcp.TcpClient.write | ( | ChannelBuffer | buffer | ) | [inline] |
Definition at line 114 of file TcpClient.java.
final ClientBootstrap org.ros.internal.transport.tcp.TcpClient.bootstrap [private] |
Definition at line 57 of file TcpClient.java.
Channel org.ros.internal.transport.tcp.TcpClient.channel [private] |
Definition at line 60 of file TcpClient.java.
final ChannelBufferFactory org.ros.internal.transport.tcp.TcpClient.channelBufferFactory [private] |
Definition at line 56 of file TcpClient.java.
final ChannelFactory org.ros.internal.transport.tcp.TcpClient.channelFactory [private] |
Definition at line 55 of file TcpClient.java.
final ChannelGroup org.ros.internal.transport.tcp.TcpClient.channelGroup [private] |
Definition at line 54 of file TcpClient.java.
final boolean org.ros.internal.transport.tcp.TcpClient.DEBUG = false [static, private] |
Definition at line 47 of file TcpClient.java.
final int org.ros.internal.transport.tcp.TcpClient.DEFAULT_CONNECTION_TIMEOUT_DURATION = 5 [static, private] |
Definition at line 50 of file TcpClient.java.
final TimeUnit org.ros.internal.transport.tcp.TcpClient.DEFAULT_CONNECTION_TIMEOUT_UNIT = TimeUnit.SECONDS [static, private] |
Definition at line 51 of file TcpClient.java.
final boolean org.ros.internal.transport.tcp.TcpClient.DEFAULT_KEEP_ALIVE = true [static, private] |
Definition at line 52 of file TcpClient.java.
final Log org.ros.internal.transport.tcp.TcpClient.log = LogFactory.getLog(TcpClient.class) [static, private] |
Definition at line 48 of file TcpClient.java.
final List<NamedChannelHandler> org.ros.internal.transport.tcp.TcpClient.namedChannelHandlers [private] |
Definition at line 58 of file TcpClient.java.