Public Member Functions | Static Public Member Functions | Private Attributes
org.ros.internal.node.server.NodeIdentifier Class Reference

List of all members.

Public Member Functions

boolean equals (Object obj)
GraphName getName ()
URI getUri ()
int hashCode ()
 NodeIdentifier (GraphName name, URI uri)
ConnectionHeader toConnectionHeader ()
String toString ()

Static Public Member Functions

static NodeIdentifier forName (String name)
static NodeIdentifier forNameAndUri (String name, String uri)
static NodeIdentifier forUri (String uri)

Private Attributes

final GraphName name
final URI uri

Detailed Description

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)

Definition at line 36 of file NodeIdentifier.java.


Constructor & Destructor Documentation

Constructs a new NodeIdentifier.

Note that either

 nodeName 

or

 uri 

may be null but not both. This is necessary because either is enough to uniquely identify a SlaveServer and because, depending on context, one or the other may not be available.

Although either value may be

 null 

, we do not treat

 null 

as 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:
namethe GraphName that the Node is known as
urithe URI of the Node's SlaveServer XML-RPC server

Definition at line 79 of file NodeIdentifier.java.


Member Function Documentation

boolean org.ros.internal.node.server.NodeIdentifier.equals ( Object  obj) [inline]

Definition at line 117 of file NodeIdentifier.java.

static NodeIdentifier org.ros.internal.node.server.NodeIdentifier.forName ( String  name) [inline, static]

Definition at line 41 of file NodeIdentifier.java.

static NodeIdentifier org.ros.internal.node.server.NodeIdentifier.forNameAndUri ( String  name,
String  uri 
) [inline, static]

Definition at line 53 of file NodeIdentifier.java.

static NodeIdentifier org.ros.internal.node.server.NodeIdentifier.forUri ( String  uri) [inline, static]

Definition at line 45 of file NodeIdentifier.java.

Definition at line 88 of file NodeIdentifier.java.

Definition at line 92 of file NodeIdentifier.java.

Definition at line 108 of file NodeIdentifier.java.

Definition at line 96 of file NodeIdentifier.java.

Definition at line 103 of file NodeIdentifier.java.


Member Data Documentation

Definition at line 38 of file NodeIdentifier.java.

Definition at line 39 of file NodeIdentifier.java.


The documentation for this class was generated from the following file:


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