public class DMRDiscovery extends Object
| Constructor and Description |
|---|
DMRDiscovery(DMRInventoryManager im)
Creates the discovery object for the given inventory manager.
|
| Modifier and Type | Method and Description |
|---|---|
void |
discoverAllResources(org.jgrapht.event.VertexSetListener<DMRResource> listener)
Performs the discovery and stores the discovered inventory in this object's inventory manager.
|
public DMRDiscovery(DMRInventoryManager im)
DMRInventoryManager.getModelControllerClientFactory()).im - the inventory manager that holds information about the server to be queried and
the known types to be discoveredclientFactory - will create clients used to communicate with the endpointpublic void discoverAllResources(org.jgrapht.event.VertexSetListener<DMRResource> listener) throws Exception
listener - if not null, will be a listener that gets notified when resources are discoveredException - if discovery failedCopyright © 2015 Red Hat, Inc.. All rights reserved.