public class NagiosCheckSenderImpl extends Object implements NagiosCheckSender
In this implementation, calls to the send method waits for the NRDP server's response before returning. However, concurrent calls to the send method do send http requests in parallel.
| Constructor and Description |
|---|
NagiosCheckSenderImpl(NRDPServerConnectionSettings server) |
| Modifier and Type | Method and Description |
|---|---|
void |
send(Collection<NagiosCheckResult> results)
attempt to send a check result to Nagios
|
public NagiosCheckSenderImpl(NRDPServerConnectionSettings server)
public void send(Collection<NagiosCheckResult> results) throws NRDPException, IOException
NagiosCheckSendersend in interface NagiosCheckSenderresults - is a list of results to sendNRDPException - thrown if an error occurs while sending the passive checkIOException - thrown if I/O error occurs while trying to establish connection with nagios hostCopyright © 2015. All Rights Reserved.