org.ros.internal.node.topic
Class SubscriberDeclaration
java.lang.Object
org.ros.internal.node.topic.SubscriberDeclaration
public class SubscriberDeclaration
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
SubscriberDeclaration
public SubscriberDeclaration(SubscriberIdentifier subscriberIdentifier,
TopicDeclaration topicDeclaration)
newFromHeader
public static SubscriberDeclaration newFromHeader(java.util.Map<java.lang.String,java.lang.String> header)
- Creates a subscriber definition from the headers in a connection header.
- Parameters:
header
- The header data.
- Returns:
- The subscriber definition from the header data.
getNodeIdentifier
public NodeIdentifier getNodeIdentifier()
getSlaveUri
public java.net.URI getSlaveUri()
getTopicName
public GraphName getTopicName()
toConnectionHeader
public java.util.Map<java.lang.String,java.lang.String> toConnectionHeader()
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