122123124125126127128129130
@Override protected void doStart() throws Exception { if (nagiosSettings == null) { nagiosSettings = configuration.getNagiosSettings(); } sender = new NagiosPassiveCheckSender(nagiosSettings); log.info("Using " + configuration); }
119120121122123124125126127
7273747576777879808182
} public synchronized INagiosPassiveCheckSender getSender() { if (sender == null) { if (isSendSync()) { sender = new NagiosPassiveCheckSender(getConfiguration().getNagiosSettings()); } else { // use a non blocking sender sender = new NonBlockingNagiosPassiveCheckSender(getConfiguration().getNagiosSettings()); } }
120121122123124125126127128