org.eclipse.ecf.discovery.identity
Interface IServiceTypeID
- All Superinterfaces:
- java.lang.Comparable, org.eclipse.core.runtime.IAdaptable, ID, java.security.Principal, java.io.Serializable
- All Known Implementing Classes:
- JMDNSServiceTypeID, JSLPServiceTypeID, ServiceTypeID
public interface IServiceTypeID
- extends ID
Service type ID contract.
| 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 |
getNamingAuthority
java.lang.String getNamingAuthority()
- Returns:
- String Naming Authority for this ServiceType. May be
null.
getProtocols
java.lang.String[] getProtocols()
- Returns:
- String[] of protocols supported. Will not be
null, but may
be empty array.
getScopes
java.lang.String[] getScopes()
- Returns:
- The scopes in which this Service is registered. Will not be
null, but may
be empty array.
getServices
java.lang.String[] getServices()
- Returns:
- The name of the service type. If the underlying discovery mechanism
supports naming hierarchies, the hierarchy will be returned
flattened as an array. Will not be
null, but may
be empty array.
getInternal
java.lang.String getInternal()
- Get the internal name of the service type. Provider implementations may choose
to have this return the same value as
ID.getName(), or they may return
a different, internal value appropriate to the provider.
- Returns:
- String internal name for this service type. Will not return
null.