L - the type of the protocol specific location, typically a subclass of NodeLocationS - the protocol specific Sessionpublic class ProtocolService<L,S extends Session<L>> extends Object
EndpointServices that all handle a single protocol and share a single
ResourceTypeManager.| Modifier and Type | Class and Description |
|---|---|
static class |
ProtocolService.Builder<L,S extends Session<L>> |
| Constructor and Description |
|---|
ProtocolService(Map<String,EndpointService<L,S>> endpointServices) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInventoryListener(InventoryListener listener) |
static <L,S extends Session<L>> |
builder() |
void |
discoverAll() |
Map<String,EndpointService<L,S>> |
getEndpointServices() |
void |
removeInventoryListener(InventoryListener listener) |
void |
start() |
void |
stop() |
public ProtocolService(Map<String,EndpointService<L,S>> endpointServices)
public static <L,S extends Session<L>> ProtocolService.Builder<L,S> builder()
public Map<String,EndpointService<L,S>> getEndpointServices()
public void discoverAll()
public void start()
public void stop()
public void addInventoryListener(InventoryListener listener)
public void removeInventoryListener(InventoryListener listener)
Copyright © 2015–2016 Red Hat, Inc.. All rights reserved.