public final class MonitoredEndpoint extends Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
ConnectionData |
getConnectionData() |
static MonitoredEndpoint |
getDefaultLocalDmrEndpoint() |
String |
getName() |
SSLContext |
getSSLContext() |
int |
hashCode() |
boolean |
isLocal() |
static MonitoredEndpoint |
of(MonitorServiceConfiguration.EndpointConfiguration endpointConfiguration,
SSLContext sslContext)
|
String |
toString() |
public static MonitoredEndpoint getDefaultLocalDmrEndpoint()
DEFAULT_LOCAL_DMR_ENDPOINTpublic static MonitoredEndpoint of(MonitorServiceConfiguration.EndpointConfiguration endpointConfiguration, SSLContext sslContext)
endpointConfiguration - the configuration to read from when creating the resultsslContext - the SSLContext to associate with the result or null if no context should be
associatedMonitoredEndpointpublic ConnectionData getConnectionData()
ConnectionData to use when connecting to the endpoint or null if this is a local
endpointpublic String getName()
MonitoredEndpointpublic SSLContext getSSLContext()
SSLContext associated with this endpointpublic boolean isLocal()
true if this is a local endpoint - i.e. the connection does not need a hostname, username,
password, etc.; a shorthand for connectionData == nullCopyright © 2015 Red Hat, Inc.. All rights reserved.