org.ros.internal.node.server.master
Class ServiceRegistrationInfo

java.lang.Object
  extended by org.ros.internal.node.server.master.ServiceRegistrationInfo

public class ServiceRegistrationInfo
extends java.lang.Object

Information a master needs about a service.


Constructor Summary
ServiceRegistrationInfo(GraphName serviceName, java.net.URI serviceUri, NodeRegistrationInfo node)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 NodeRegistrationInfo getNode()
          Get the information about the node which contains the service.
 GraphName getServiceName()
          Get the name of the service.
 java.net.URI getServiceUri()
          Get the URI of the service server.
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceRegistrationInfo

public ServiceRegistrationInfo(GraphName serviceName,
                               java.net.URI serviceUri,
                               NodeRegistrationInfo node)
Method Detail

getServiceName

public GraphName getServiceName()
Get the name of the service.

Returns:
the serviceName

getServiceUri

public java.net.URI getServiceUri()
Get the URI of the service server.

Returns:
the service URI

getNode

public NodeRegistrationInfo getNode()
Get the information about the node which contains the service.

Returns:
The implementing node's information.

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