@Test(timeout=90000) public void testBadCommand() throws Exception{ m_detector.setCommand("UNKNOWN"); m_detector.init(); Assert.assertFalse(m_detector.isServiceDetected(m_server.getInetAddress())); }
public void setCommand(String command) { this.command = command; }
NsclientDetector extends BasicDetector<NsclientRequest, NsclientPacket> { public void setCommand(String command) { this.command = command; } }
NsclientDetector extends BasicDetector<NsclientRequest, NsclientPacket> { public void setCommand(String command) { this.command = command; } NsclientDetector();  NsclientDetector(final String serviceName, final int port); }
NsclientDetector extends BasicDetector<NsclientRequest, NsclientPacket> { public void setCommand(String command) { this.command = command; } NsclientDetector();  NsclientDetector(final String serviceName, final int port); String getCommand(); void setCommand(String command); String getPassword(); void setPassword(String password); String getParameter(); void setParameter(String parameter); int getWarnPerc(); void setWarnPerc(int warnPerc); int getCritPerc(); void setCritPerc(int critPerc); }
NsclientDetector extends BasicDetector<NsclientRequest, NsclientPacket> { public void setCommand(String command) { this.command = command; } NsclientDetector();  NsclientDetector(final String serviceName, final int port); String getCommand(); void setCommand(String command); String getPassword(); void setPassword(String password); String getParameter(); void setParameter(String parameter); int getWarnPerc(); void setWarnPerc(int warnPerc); int getCritPerc(); void setCritPerc(int critPerc);  }