public class DiscoveryClient extends Object implements AutoCloseable
| Modifier and Type | Field and Description |
|---|---|
static String |
TLS_EXT_ALPN |
| Constructor and Description |
|---|
DiscoveryClient(DiscoveryClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
CompletableFuture<DiscoverResponse> |
discover(String thingName)
Based on configuration, make an http request to query connectivity information about available Greengrass cores
|
public static final String TLS_EXT_ALPN
public DiscoveryClient(DiscoveryClientConfig config)
config - Greengrass discovery client configurationpublic CompletableFuture<DiscoverResponse> discover(String thingName)
thingName - name of the thing/device making the greengrass core querypublic void close()
close in interface AutoCloseableCopyright ? 2021. All rights reserved.