org.eclipse.ecf.discovery.identity
Interface IServiceID

All Superinterfaces:
java.lang.Comparable, org.eclipse.core.runtime.IAdaptable, ID, java.security.Principal, java.io.Serializable
All Known Implementing Classes:
DnsSdServiceID, JMDNSServiceID, JSLPServiceID, ServiceID, ZooDiscoveryServiceID

public interface IServiceID
extends ID

Service identity contract.


Method Summary
 java.net.URI getLocation()
           
 java.lang.String getServiceName()
          Deprecated. Use IServiceInfo.getServiceName() instead
 IServiceTypeID getServiceTypeID()
          Get service type ID for this ID.
 
Methods inherited from interface org.eclipse.ecf.core.identity.ID
equals, getName, getNamespace, hashCode, toExternalForm
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface java.security.Principal
toString
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getServiceTypeID

IServiceTypeID getServiceTypeID()
Get service type ID for this ID.

Returns:
IServiceTypeID. Will not be null.

getServiceName

java.lang.String getServiceName()
Deprecated. Use IServiceInfo.getServiceName() instead

Get service name for this ID.

Returns:
String service name. May be null.

getLocation

java.net.URI getLocation()
Since:
3.0