|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.ros.internal.transport.tcp.TcpClientConnectionManager
public class TcpClientConnectionManager
Constructor Summary | |
---|---|
TcpClientConnectionManager(java.util.concurrent.ScheduledExecutorService executorService)
|
Method Summary | |
---|---|
TcpClientConnection |
connect(java.lang.String connectionName,
java.net.SocketAddress address,
org.jboss.netty.channel.ChannelHandler handler,
java.lang.String handlerName)
Connects to a server. |
void |
shutdown()
Sets all TcpClientConnection s as non-persistent and closes all open
Channel s. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TcpClientConnectionManager(java.util.concurrent.ScheduledExecutorService executorService)
Method Detail |
---|
public TcpClientConnection connect(java.lang.String connectionName, java.net.SocketAddress address, org.jboss.netty.channel.ChannelHandler handler, java.lang.String handlerName)
This call blocks until the connection is established or fails.
connectionName
- address
- handler
- handlerName
-
TcpClientConnection
public void shutdown()
TcpClientConnection
s as non-persistent and closes all open
Channel
s.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |