public static class CompositeDiscoveryContainer.CompositeServiceInfoWrapper extends Object implements IServiceInfo
| Constructor and Description |
|---|
CompositeServiceInfoWrapper(IServiceInfo anInfo,
ID anId) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getAdapter(Class adapter) |
ID |
getId() |
URI |
getLocation()
Get URI for service
|
int |
getPriority()
The priority for the service
Priority: The priority of this target host.
|
IServiceID |
getServiceID()
Get ServiceID for service.
|
String |
getServiceName()
A user choose label used for pretty printing this service.
|
IServiceProperties |
getServiceProperties()
Map with any/all properties associated with the service.
|
long |
getTTL()
The time to live for the service.
|
int |
getWeight()
The weight for the service.
|
public CompositeServiceInfoWrapper(IServiceInfo anInfo, ID anId)
public ID getId()
public URI getLocation()
IServiceInfogetLocation in interface IServiceInfoURI the location for the service.public IServiceID getServiceID()
IServiceInfogetServiceID in interface IServiceInfonull.public int getPriority()
IServiceInfogetPriority in interface IServiceInfopublic Object getAdapter(Class adapter)
getAdapter in interface org.eclipse.core.runtime.IAdaptablepublic int getWeight()
IServiceInfogetWeight in interface IServiceInfopublic long getTTL()
IServiceInfogetTTL in interface IServiceInfopublic IServiceProperties getServiceProperties()
IServiceInfogetServiceProperties in interface IServiceInfonull.public String getServiceName()
IServiceInfogetServiceName in interface IServiceInfoCopyright © 2020 Eclipse Foundation. All rights reserved.