Construct a new OpenNMS client.
If no httpImpl
parameter is provided, the class in Client.defaultHttp will be used by default.
Unless overridden, this defaults to AxiosHTTP.
The IOnmsHTTP implementation to use.
the OnmsHTTP implementation that will be used when making requests
The default OnmsHTTP implementation to be used when making requests
Get an alarm DAO for querying alarms.
Connect to an OpenNMS server.
NOTE: This method will connect to the server using the provided information, get the server metadata, and then assign that server to the existing IOnmsHTTP implementation associated with this client (or the default impl, if one has not yet been provided).
Get an event DAO for querying events.
Get a flow DAO for querying flows.
Get a node DAO for querying nodes.
Get a situationFeedback DAO for submitting and querying correlation feedback.
Given an OnmsServer object, check that it can be connected to.
the server to check
the IOnmsHTTP implementation to use
how long to wait before giving up when making ReST calls
Given an OnmsServer object, query what capabilities it has, and return the capabilities associated with that server.
the server to check
the IOnmsHTTP implementation to use
how long to wait before giving up when making ReST calls
Generated using TypeDoc
The OpenNMS client. This is the primary interface to OpenNMS servers.