org.ros.internal.node.topic
Class PublisherIdentifier
java.lang.Object
org.ros.internal.node.topic.PublisherIdentifier
public class PublisherIdentifier
- extends java.lang.Object
All information needed to identify a publisher.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
PublisherIdentifier
public PublisherIdentifier(NodeIdentifier nodeIdentifier,
TopicIdentifier topicIdentifier)
newCollectionFromUris
public static java.util.Collection<PublisherIdentifier> newCollectionFromUris(java.util.Collection<java.net.URI> publisherUris,
TopicDeclaration topicDeclaration)
newFromStrings
public static PublisherIdentifier newFromStrings(java.lang.String nodeName,
java.lang.String uri,
java.lang.String topicName)
toConnectionHeader
public java.util.Map<java.lang.String,java.lang.String> toConnectionHeader()
getNodeIdentifier
public NodeIdentifier getNodeIdentifier()
getNodeName
public GraphName getNodeName()
- Returns:
- the
GraphName
of the Node
hosting this
Publisher
getNodeUri
public java.net.URI getNodeUri()
- Returns:
- the
URI
of the Node
hosting this Publisher
getTopicIdentifier
public TopicIdentifier getTopicIdentifier()
- Returns:
- the
TopicIdentifier
for the Publisher
's topic
getTopicName
public GraphName getTopicName()
- Returns:
- the
GraphName
of this Publisher
's topic
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object