org.ros.internal.node.service
Class ServiceManager
java.lang.Object
org.ros.internal.node.service.ServiceManager
public class ServiceManager
- extends java.lang.Object
Manages a collection of ServiceServer
s and ServiceClient
s.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceManager
public ServiceManager()
setListener
public void setListener(ServiceManagerListener listener)
hasServer
public boolean hasServer(GraphName name)
addServer
public void addServer(DefaultServiceServer<?,?> serviceServer)
removeServer
public void removeServer(DefaultServiceServer<?,?> serviceServer)
getServer
public DefaultServiceServer<?,?> getServer(GraphName name)
hasClient
public boolean hasClient(GraphName name)
addClient
public void addClient(DefaultServiceClient<?,?> serviceClient)
removeClient
public void removeClient(DefaultServiceClient<?,?> serviceClient)
getClient
public DefaultServiceClient<?,?> getClient(GraphName name)
getServers
public java.util.List<DefaultServiceServer<?,?>> getServers()
getClients
public java.util.List<DefaultServiceClient<?,?>> getClients()