Public Member Functions | Private Attributes
org.ros.internal.node.server.master.NodeRegistrationInfo Class Reference

List of all members.

Public Member Functions

void addPublisher (TopicRegistrationInfo publisherTopic)
void addService (ServiceRegistrationInfo service)
void addSubscriber (TopicRegistrationInfo subscriberTopic)
boolean equals (Object obj)
GraphName getNodeName ()
URI getNodeSlaveUri ()
Set< TopicRegistrationInfogetPublishers ()
Set< ServiceRegistrationInfogetServices ()
Set< TopicRegistrationInfogetSubscribers ()
int hashCode ()
boolean hasRegistrations ()
 NodeRegistrationInfo (GraphName nodeName, URI nodeSlaveUri)
boolean removePublisher (TopicRegistrationInfo publisherTopic)
boolean removeService (ServiceRegistrationInfo service)
boolean removeSubscriber (TopicRegistrationInfo subscriberTopic)

Private Attributes

final GraphName nodeName
final URI nodeSlaveUri
final Set< TopicRegistrationInfopublishers
final Set
< ServiceRegistrationInfo
services
final Set< TopicRegistrationInfosubscribers

Detailed Description

Information a master needs about a node.

Author:
khughes@google.com (Keith M. Hughes)

Definition at line 32 of file NodeRegistrationInfo.java.


Constructor & Destructor Documentation

Definition at line 59 of file NodeRegistrationInfo.java.


Member Function Documentation

Add a new publisher to the node.

Parameters:
publisherTopicthe topic information about the publisher to add

Definition at line 105 of file NodeRegistrationInfo.java.

Add a new service to the node.

Parameters:
servicethe service to add

Definition at line 167 of file NodeRegistrationInfo.java.

Add a new subscriber to the node.

Parameters:
subscriberTopicthe topic information about the subscriber to add

Definition at line 136 of file NodeRegistrationInfo.java.

Definition at line 192 of file NodeRegistrationInfo.java.

Returns:
the nodeName

Definition at line 70 of file NodeRegistrationInfo.java.

Returns:
the nodeSlaveUri

Definition at line 77 of file NodeRegistrationInfo.java.

Get all known topics published by the node.

Returns:
an immutable copy of the published topics

Definition at line 95 of file NodeRegistrationInfo.java.

Get all known services provided by the node.

Returns:
an immutable copy of the topics subscribed to

Definition at line 157 of file NodeRegistrationInfo.java.

Get all known topics subscribed to by the node.

Returns:
an immutable copy of the topics subscribed to

Definition at line 126 of file NodeRegistrationInfo.java.

Definition at line 184 of file NodeRegistrationInfo.java.

Does the node have any registrations of any sort.

Returns:
{code true} if there are still registrations for the node.

Definition at line 86 of file NodeRegistrationInfo.java.

Remove a publisher from the node.

Parameters:
publisherTopicthe topic information about the publisher to remove
Returns:
 true 
if the publisher had been there

Definition at line 117 of file NodeRegistrationInfo.java.

Remove a service from the node.

Parameters:
servicethe service to remove
Returns:
 true 
if the subscriber had been there

Definition at line 179 of file NodeRegistrationInfo.java.

Remove a subscriber from the node.

Parameters:
subscriberTopicthe topic information about the subscriber to remove
Returns:
 true 
if the subscriber had been there

Definition at line 148 of file NodeRegistrationInfo.java.


Member Data Documentation

The name of the node.

Definition at line 37 of file NodeRegistrationInfo.java.

The URI for the node's slave server.

Definition at line 42 of file NodeRegistrationInfo.java.

All subscribers associated with the node.

Definition at line 47 of file NodeRegistrationInfo.java.

All services associated with the node.

Definition at line 57 of file NodeRegistrationInfo.java.

All publishers associated with the node.

Definition at line 52 of file NodeRegistrationInfo.java.


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


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