Class OpenConfigClientImpl
- java.lang.Object
-
- org.opennms.features.openconfig.telemetry.OpenConfigClientImpl
-
- All Implemented Interfaces:
OpenConfigClient
public class OpenConfigClientImpl extends java.lang.Object implements OpenConfigClient
OpenConfig Client makes a gRPC connection and subscribes to telemetry data for the paths specified. When it fails to make a connection, it attempts to make a connection after given interval. When retries are specified, it bails out after those many attempts. If no retries or <=0 specified, it always attempts to connect after given interval.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opennms.features.openconfig.api.OpenConfigClient
OpenConfigClient.Handler
-
-
Constructor Summary
Constructors Constructor Description OpenConfigClientImpl(java.net.InetAddress host, java.util.List<java.util.Map<java.lang.String,java.lang.String>> paramList)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
shutdown()
void
subscribe(OpenConfigClient.Handler handler)
-
-
-
Method Detail
-
subscribe
public void subscribe(OpenConfigClient.Handler handler)
- Specified by:
subscribe
in interfaceOpenConfigClient
-
shutdown
public void shutdown()
- Specified by:
shutdown
in interfaceOpenConfigClient
-
-