|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opennms.netmgt.capsd.AbstractPlugin
org.opennms.netmgt.capsd.plugins.DhcpPlugin
public final class DhcpPlugin
This class is designed to be used by the capabilities daemon to test if a remote interface is running a functional DHCP server as defined by RFC 2131. This class relies on the DHCP API provided by JDHCP v1.1.1. (please refer to http://www.dhcp.org/javadhcp). The class implements the Plugin interface that allows it to be used along with other plugins by the daemon.
| Constructor Summary | |
|---|---|
DhcpPlugin()
|
|
| Method Summary | |
|---|---|
String |
getProtocolName()
This method returns the name of the protocol supported by this plugin. |
boolean |
isProtocolSupported(InetAddress host)
This method is used to test the passed host for DHCP server support. |
boolean |
isProtocolSupported(InetAddress host,
Map<String,Object> qualifiers)
This method is used to test the passed host for DHCP server support. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DhcpPlugin()
| Method Detail |
|---|
public String getProtocolName()
getProtocolName in interface PlugingetProtocolName in class AbstractPluginpublic boolean isProtocolSupported(InetAddress host)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginhost - The remote host to test.
public boolean isProtocolSupported(InetAddress host,
Map<String,Object> qualifiers)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginhost - The remote host to test.qualifiers - The location where qualifier parameters are read and written.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||