Public Member Functions | |
void | addAllNamedChannelHandlers (List< NamedChannelHandler > namedChannelHandlers) |
void | addNamedChannelHandler (NamedChannelHandler namedChannelHandler) |
TcpClient | connect (String connectionName, SocketAddress socketAddress) |
void | shutdown () |
TcpClientManager (Executor executor) | |
Private Attributes | |
final ChannelGroup | channelGroup |
final Executor | executor |
final List< NamedChannelHandler > | namedChannelHandlers |
final Collection< TcpClient > | tcpClients |
Definition at line 33 of file TcpClientManager.java.
org.ros.internal.transport.tcp.TcpClientManager.TcpClientManager | ( | Executor | executor | ) | [inline] |
Definition at line 40 of file TcpClientManager.java.
void org.ros.internal.transport.tcp.TcpClientManager.addAllNamedChannelHandlers | ( | List< NamedChannelHandler > | namedChannelHandlers | ) | [inline] |
Definition at line 51 of file TcpClientManager.java.
void org.ros.internal.transport.tcp.TcpClientManager.addNamedChannelHandler | ( | NamedChannelHandler | namedChannelHandler | ) | [inline] |
Definition at line 47 of file TcpClientManager.java.
TcpClient org.ros.internal.transport.tcp.TcpClientManager.connect | ( | String | connectionName, |
SocketAddress | socketAddress | ||
) | [inline] |
Connects to a server.
This call blocks until the connection is established or fails.
connectionName | the name of the new connection |
socketAddress | the SocketAddress to connect to |
Definition at line 66 of file TcpClientManager.java.
void org.ros.internal.transport.tcp.TcpClientManager.shutdown | ( | ) | [inline] |
Sets all TcpClientConnections as non-persistent and closes all open Channels.
Definition at line 78 of file TcpClientManager.java.
final ChannelGroup org.ros.internal.transport.tcp.TcpClientManager.channelGroup [private] |
Definition at line 35 of file TcpClientManager.java.
final Executor org.ros.internal.transport.tcp.TcpClientManager.executor [private] |
Definition at line 38 of file TcpClientManager.java.
final List<NamedChannelHandler> org.ros.internal.transport.tcp.TcpClientManager.namedChannelHandlers [private] |
Definition at line 37 of file TcpClientManager.java.
final Collection<TcpClient> org.ros.internal.transport.tcp.TcpClientManager.tcpClients [private] |
Definition at line 36 of file TcpClientManager.java.