|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ros.node.NodeConfiguration
public class NodeConfiguration
Stores configuration information (e.g. ROS master URI) for Nodes.
| Field Summary | |
|---|---|
static java.net.URI |
DEFAULT_MASTER_URI
The default master URI. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.net.URI DEFAULT_MASTER_URI
URI.
| Method Detail |
|---|
public static NodeConfiguration copyOf(NodeConfiguration nodeConfiguration)
nodeConfiguration - the NodeConfiguration to copy
NodeConfiguration
public static NodeConfiguration newPublic(java.lang.String host,
java.net.URI masterUri)
NodeConfiguration for a publicly accessible
Node.
host - the host that the Node will run onmasterUri - the URI for the master that the Node will register
with
NodeConfiguration for a publicly accessible
Nodepublic static NodeConfiguration newPublic(java.lang.String host)
NodeConfiguration for a publicly accessible
Node.
host - the host that the Node will run on
NodeConfiguration for a publicly accessible
Nodepublic static NodeConfiguration newPrivate(java.net.URI masterUri)
NodeConfiguration for a Node that is only
accessible on the local host.
masterUri - the URI for the master that the Node will register
with
NodeConfiguration for a private Nodepublic static NodeConfiguration newPrivate()
NodeConfiguration for a Node that is only
accessible on the local host.
NodeConfiguration for a private Nodepublic NameResolver getParentResolver()
NameResolver for the Node's parent namespacepublic NodeConfiguration setParentResolver(NameResolver resolver)
resolver - the NameResolver for the Node's parent namespace
NodeConfigurationpublic java.net.URI getMasterUri()
URI of the master that the Node will register
withpublic NodeConfiguration setMasterUri(java.net.URI masterUri)
masterUri - the URI of the master that the Node will register
with
NodeConfigurationpublic java.io.File getRosRoot()
public NodeConfiguration setRosRoot(java.io.File rosRoot)
rosRoot - the location where the ROS core packages are installed
NodeConfigurationpublic java.util.List<java.io.File> getRosPackagePath()
List first.
List of paths where the system will look for ROS
packagespublic NodeConfiguration setRosPackagePath(java.util.List<java.io.File> rosPackagePath)
List first.
rosPackagePath - the List of paths where the system will look for ROS
packages
NodeConfigurationpublic GraphName getNodeName()
Nodepublic NodeConfiguration setNodeName(GraphName nodeName)
nodeName - the name of the Node
NodeConfigurationpublic NodeConfiguration setNodeName(java.lang.String nodeName)
nodeName - the name of the Node
NodeConfigurationpublic NodeConfiguration setDefaultNodeName(GraphName nodeName)
Node if the name has not already been set.
nodeName - the name of the Node
NodeConfigurationpublic NodeConfiguration setDefaultNodeName(java.lang.String nodeName)
Node if the name has not already been set.
nodeName - the name of the Node
NodeConfigurationpublic MessageSerializationFactory getMessageSerializationFactory()
MessageSerializationFactory for the Nodepublic NodeConfiguration setMessageSerializationFactory(MessageSerializationFactory messageSerializationFactory)
messageSerializationFactory - the MessageSerializationFactory for the Node
NodeConfigurationpublic NodeConfiguration setTopicMessageFactory(MessageFactory topicMessageFactory)
topicMessageFactory - the MessageFactory for the Node
NodeConfigurationpublic MessageFactory getTopicMessageFactory()
public NodeConfiguration setServiceRequestMessageFactory(ServiceRequestMessageFactory serviceRequestMessageFactory)
serviceRequestMessageFactory - the ServiceRequestMessageFactory for the Node
NodeConfigurationpublic MessageFactory getServiceRequestMessageFactory()
public NodeConfiguration setServiceResponseMessageFactory(ServiceResponseMessageFactory serviceResponseMessageFactory)
serviceResponseMessageFactory - the ServiceResponseMessageFactory for the Node
NodeConfigurationpublic MessageFactory getServiceResponseMessageFactory()
public NodeConfiguration setTopicDescriptionFactory(TopicDescriptionFactory topicDescriptionFactory)
topicDescriptionFactory - the TopicDescriptionFactory for the Node
NodeConfigurationpublic TopicDescriptionFactory getTopicDescriptionFactory()
public NodeConfiguration setServiceDescriptionFactory(ServiceDescriptionFactory serviceDescriptionFactory)
serviceDescriptionFactory - the ServiceDescriptionFactory for the Node
NodeConfigurationpublic ServiceDescriptionFactory getServiceDescriptionFactory()
public BindAddress getTcpRosBindAddress()
BindAddress for the Node's TCPROS serverpublic NodeConfiguration setTcpRosBindAddress(BindAddress tcpRosBindAddress)
tcpRosBindAddress - the BindAddress for the Node's TCPROS serverpublic AdvertiseAddressFactory getTcpRosAdvertiseAddressFactory()
AdvertiseAddressFactory for the Node's TCPROS
serverpublic NodeConfiguration setTcpRosAdvertiseAddressFactory(AdvertiseAddressFactory tcpRosAdvertiseAddressFactory)
tcpRosAdvertiseAddressFactory - the AdvertiseAddressFactory for the Node's TCPROS
server
NodeConfigurationpublic AdvertiseAddress getTcpRosAdvertiseAddress()
AdvertiseAddress for the Node's TCPROS serverpublic BindAddress getXmlRpcBindAddress()
BindAddress for the Node's XML-RPC serverpublic NodeConfiguration setXmlRpcBindAddress(BindAddress xmlRpcBindAddress)
xmlRpcBindAddress - the BindAddress for the Node's XML-RPC serverpublic AdvertiseAddress getXmlRpcAdvertiseAddress()
AdvertiseAddress for the Node's XML-RPC serverpublic AdvertiseAddressFactory getXmlRpcAdvertiseAddressFactory()
AdvertiseAddressFactory for the Node's XML-RPC
serverpublic NodeConfiguration setXmlRpcAdvertiseAddressFactory(AdvertiseAddressFactory xmlRpcAdvertiseAddressFactory)
xmlRpcAdvertiseAddressFactory - the AdvertiseAddressFactory for the Node's XML-RPC
serverpublic TimeProvider getTimeProvider()
TimeProviderpublic NodeConfiguration setTimeProvider(TimeProvider timeProvider)
TimeProvider that Nodes will use. By default, the
WallTimeProvider is used.
timeProvider - the TimeProvider that Nodes will use
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||