Interface IServiceTypeID
- 
- All Superinterfaces:
- Comparable,- org.eclipse.core.runtime.IAdaptable,- ID,- Principal,- Serializable
 - All Known Implementing Classes:
- BnRDnsSdServiceTypeID,- DnsSdServiceTypeID,- JSLPServiceTypeID,- ServiceTypeID,- ZooDiscoveryServiceTypeID
 
 public interface IServiceTypeID extends ID Service type ID contract.
- 
- 
Field SummaryFields Modifier and Type Field Description static StringDEFAULT_NADefault ECF naming authority (will be translated into provider specific representation)static String[]DEFAULT_PROTODefault ECF protocols (will be translated into provider specific representation)static String[]DEFAULT_SCOPEDefault ECF scopes (will be translated into provider specific representation)
 - 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetInternal()Get the internal name of the service type.StringgetNamingAuthority()String[]getProtocols()String[]getScopes()String[]getServices()- 
Methods inherited from interface java.lang.ComparablecompareTo
 - 
Methods inherited from interface org.eclipse.ecf.core.identity.IDequals, getName, getNamespace, hashCode, toExternalForm
 
- 
 
- 
- 
- 
Field Detail- 
DEFAULT_PROTOstatic final String[] DEFAULT_PROTO Default ECF protocols (will be translated into provider specific representation)- Since:
- 3.0
 
 - 
DEFAULT_SCOPEstatic final String[] DEFAULT_SCOPE Default ECF scopes (will be translated into provider specific representation)- Since:
- 3.0
 
 - 
DEFAULT_NAstatic final String DEFAULT_NA Default ECF naming authority (will be translated into provider specific representation)- Since:
- 3.0
- See Also:
- Constant Field Values
 
 
- 
 - 
Method Detail- 
getNamingAuthorityString getNamingAuthority() - Returns:
- String Naming Authority for this ServiceType.  Will not be null. If this instance has been created with the provider specific default, this will returnDEFAULT_NAinstead.
 
 - 
getProtocolsString[] getProtocols() - Returns:
- String[] of protocols supported.  Will not be null, but may be empty array. If this instance has been created with the provider specific default, this will returnDEFAULT_PROTOinstead.
 
 - 
getScopesString[] getScopes() - Returns:
- The scopes in which this Service is registered.  Will not be null, but may be empty array. If this instance has been created with the provider specific default, this will returnDEFAULT_SCOPEinstead!
 
 - 
getServicesString[] 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.
 
 - 
getInternalString getInternal() Get the internal name of the service type. Provider implementations may choose to have this return the same value asID.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.
 
 
- 
 
-