edu.ucsb.cs.jicos.foundation
Class ServiceName

java.lang.Object
  extended by edu.ucsb.cs.jicos.foundation.ServiceName
All Implemented Interfaces:
java.io.Serializable

public class ServiceName
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ServiceName(Service service)
           
ServiceName(ServiceName serviceName)
          A copy constructor.
 
Method Summary
 java.lang.String domainName()
          Returns the Service's domain name.
 java.lang.String ipAddress()
          Returns the Service's IP address.
 Service service()
          Not used by Jicos applications.
 java.lang.String toString()
          Returns a String representation of the object.
 java.lang.String toStringWithSpace()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ServiceName

public ServiceName(Service service)

ServiceName

public ServiceName(ServiceName serviceName)
A copy constructor.

Parameters:
serviceName - The service name to copy.
Method Detail

ipAddress

public final java.lang.String ipAddress()
Returns the Service's IP address.

Returns:
the Service's IP address.

domainName

public final java.lang.String domainName()
Returns the Service's domain name.

Returns:
the Service's domain name.

service

public final Service service()
Not used by Jicos applications.

Returns:
Not used by Jicos applications.

toString

public java.lang.String toString()
Returns a String representation of the object.

Overrides:
toString in class java.lang.Object
Returns:
a String representation of the ID address and domain name.

toStringWithSpace

public java.lang.String toStringWithSpace()


Jicos: http://cs.ucsb.edu/projects/jicos