ConnectedNode.java
Go to the documentation of this file.
00001 /*
00002  * Copyright (C) 2011 Google Inc.
00003  * 
00004  * Licensed under the Apache License, Version 2.0 (the "License"); you may not
00005  * use this file except in compliance with the License. You may obtain a copy of
00006  * the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  * 
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
00012  * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
00013  * License for the specific language governing permissions and limitations under
00014  * the License.
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 }


rosjava_core
Author(s):
autogenerated on Wed Aug 26 2015 16:06:49