public class DiscoveredEndpointDescriptionFactory extends AbstractMetadataFactory implements IDiscoveredEndpointDescriptionFactory
IDiscoveredEndpointDescriptionFactory
service.IDiscoveredEndpointDescriptionFactoryLIST_SEPARATOR| Constructor and Description |
|---|
DiscoveredEndpointDescriptionFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DiscoveredEndpointDescription |
createDiscoveredEndpointDescription(IDiscoveryLocator locator,
IServiceInfo discoveredServiceInfo)
Create an EndpointDescription for a discovered remote service.
|
protected DiscoveredEndpointDescription |
createDiscoveredEndpointDescription(IDiscoveryLocator locator,
IServiceInfo discoveredServiceInfo,
EndpointDescription endpointDescription) |
protected EndpointDescription |
createEndpointDescription(IDiscoveryLocator locator,
IServiceInfo discoveredServiceInfo) |
void |
removeAllDiscoveredEndpointDescriptions()
Remove all DiscoveredEndpointDescription from this factory.
|
boolean |
removeDiscoveredEndpointDescription(EndpointDescription endpointDescription)
Remove the DiscoveredEndpointDescription associated with the given
endpointDescription.
|
DiscoveredEndpointDescription |
removeDiscoveredEndpointDescription(IDiscoveryLocator locator,
IServiceID serviceID)
Remove an EndpointDescription for a previously discovered remote service.
|
decodeEndpointDescription, decodeList, decodeLong, decodeNonStandardServiceProperties, decodeOSGiProperties, decodeString, encodeList, encodeLong, encodeNonStandardServiceProperties, encodeOSGiServiceProperties, encodeServiceProperties, encodeString, logError, logWarningpublic DiscoveredEndpointDescriptionFactory()
public DiscoveredEndpointDescription createDiscoveredEndpointDescription(IDiscoveryLocator locator, IServiceInfo discoveredServiceInfo)
IDiscoveredEndpointDescriptionFactorynull if no notification should occur.createDiscoveredEndpointDescription in interface IDiscoveredEndpointDescriptionFactorylocator - the locator responsible for the discoveredServiceInfo. Must
not be null.discoveredServiceInfo - the discovered service info. Must not be null.null is returned, no notification should be
performed by the calling code.public DiscoveredEndpointDescription removeDiscoveredEndpointDescription(IDiscoveryLocator locator, IServiceID serviceID)
IDiscoveredEndpointDescriptionFactorynull if no notification should occur.removeDiscoveredEndpointDescription in interface IDiscoveredEndpointDescriptionFactorylocator - the locator responsible for the discoveredServiceInfo. Must
not be null.serviceID - the discovered service ID. Must not be null.null
is returned, no notification should be performed by the calling
code.protected EndpointDescription createEndpointDescription(IDiscoveryLocator locator, IServiceInfo discoveredServiceInfo)
protected DiscoveredEndpointDescription createDiscoveredEndpointDescription(IDiscoveryLocator locator, IServiceInfo discoveredServiceInfo, EndpointDescription endpointDescription)
public void close()
close in class AbstractMetadataFactorypublic boolean removeDiscoveredEndpointDescription(EndpointDescription endpointDescription)
IDiscoveredEndpointDescriptionFactoryremoveDiscoveredEndpointDescription in interface IDiscoveredEndpointDescriptionFactoryendpointDescription - that was previously associated with a
DiscoveredEndpointDescription (via
IDiscoveredEndpointDescriptionFactory.createDiscoveredEndpointDescription(IDiscoveryLocator, IServiceInfo)
to be removed. Must not be null.true if actually removed, false if
nothing was removed.public void removeAllDiscoveredEndpointDescriptions()
IDiscoveredEndpointDescriptionFactoryremoveAllDiscoveredEndpointDescriptions in interface IDiscoveredEndpointDescriptionFactoryCopyright © 2004–2020 Eclipse Foundation. All rights reserved.