Package org.ros.internal.node.server
Class NodeIdentifier
java.lang.Object
org.ros.internal.node.server.NodeIdentifier
A node slave identifier which combines the node name of a node with the URI
for contacting the node's XMLRPC server.
- Author:
- damonkohler@google.com (Damon Kohler)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NodeIdentifierstatic NodeIdentifierforNameAndUri(String name, String uri) static NodeIdentifiergetName()getUri()inthashCode()toString()
-
Constructor Details
-
NodeIdentifier
Constructs a newNodeIdentifier. Note that eithernodeNameorurimay be null but not both. This is necessary because either is enough to uniquely identify aSlaveServerand because, depending on context, one or the other may not be available. Although either value may benull, we do not treatnullas a wildcard with respect to equality. Even though it should be safe to do so, wildcards are unnecessary in this case and would likely lead to buggy code.- Parameters:
name- theGraphNamethat theNodeis known asuri- theURIof theNode'sSlaveServerXML-RPC server
-
-
Method Details