Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 package org.ros.node;
00018
00019 import org.ros.exception.ServiceNotFoundException;
00020 import org.ros.message.Time;
00021 import org.ros.namespace.GraphName;
00022 import org.ros.namespace.NameResolver;
00023 import org.ros.node.parameter.ParameterTree;
00024 import org.ros.node.service.ServiceClient;
00025 import org.ros.node.service.ServiceResponseBuilder;
00026 import org.ros.node.service.ServiceServer;
00027 import org.ros.node.topic.Publisher;
00028 import org.ros.node.topic.Subscriber;
00029
00030 import java.net.URI;
00031
00046 public interface ConnectedNode extends Node {
00047
00055 Time getCurrentTime();
00056
00067 <T> Publisher<T> newPublisher(GraphName topicName, String messageType);
00068
00072 <T> Publisher<T> newPublisher(String topicName, String messageType);
00073
00083 <T> Subscriber<T> newSubscriber(GraphName topicName, String messageType);
00084
00088 <T> Subscriber<T> newSubscriber(String topicName, String messageType);
00089
00101 <T, S> ServiceServer<T, S> newServiceServer(GraphName serviceName, String serviceType,
00102 ServiceResponseBuilder<T, S> serviceResponseBuilder);
00103
00108 <T, S> ServiceServer<T, S> newServiceServer(String serviceName, String serviceType,
00109 ServiceResponseBuilder<T, S> serviceResponseBuilder);
00110
00117 <T, S> ServiceServer<T, S> getServiceServer(GraphName serviceName);
00118
00122 <T, S> ServiceServer<T, S> getServiceServer(String serviceName);
00123
00129 URI lookupServiceUri(GraphName serviceName);
00130
00134 URI lookupServiceUri(String serviceName);
00135
00147 <T, S> ServiceClient<T, S> newServiceClient(GraphName serviceName, String serviceType)
00148 throws ServiceNotFoundException;
00149
00153 <T, S> ServiceClient<T, S> newServiceClient(String serviceName, String serviceType)
00154 throws ServiceNotFoundException;
00155
00162 ParameterTree getParameterTree();
00163 }