public class TcpRosServer
extends java.lang.Object
This server is used after publishers, subscribers, services and service clients have been told about each other by the master.
| Constructor and Description |
|---|
TcpRosServer(BindAddress bindAddress,
AdvertiseAddress advertiseAddress,
TopicParticipantManager topicParticipantManager,
ServiceManager serviceManager,
java.util.concurrent.ScheduledExecutorService executorService) |
| Modifier and Type | Method and Description |
|---|---|
java.net.InetSocketAddress |
getAddress() |
AdvertiseAddress |
getAdvertiseAddress() |
void |
shutdown()
Close all incoming connections and the server socket.
|
void |
start() |
public TcpRosServer(BindAddress bindAddress, AdvertiseAddress advertiseAddress, TopicParticipantManager topicParticipantManager, ServiceManager serviceManager, java.util.concurrent.ScheduledExecutorService executorService)
public void start()
public void shutdown()
Calling this method more than once has no effect.
public java.net.InetSocketAddress getAddress()
InetSocketAddress of this
TcpRosServerpublic AdvertiseAddress getAdvertiseAddress()
AdvertiseAddress of this TcpRosServer