org.ros.internal.node.topic
Class SubscriberDeclaration

java.lang.Object
  extended by org.ros.internal.node.topic.SubscriberDeclaration

public class SubscriberDeclaration
extends java.lang.Object


Constructor Summary
SubscriberDeclaration(SubscriberIdentifier subscriberIdentifier, TopicDeclaration topicDeclaration)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 NodeIdentifier getNodeIdentifier()
           
 java.net.URI getSlaveUri()
           
 GraphName getTopicName()
           
 int hashCode()
           
static SubscriberDeclaration newFromHeader(java.util.Map<java.lang.String,java.lang.String> header)
          Creates a subscriber definition from the headers in a connection header.
 java.util.Map<java.lang.String,java.lang.String> toConnectionHeader()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscriberDeclaration

public SubscriberDeclaration(SubscriberIdentifier subscriberIdentifier,
                             TopicDeclaration topicDeclaration)
Method Detail

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