|
|||||||||
| 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.IcmpPlugin
public final class IcmpPlugin
This class provides Capsd with the ability to check for ICMP support on new interfaces as them are passed into the system. In order to minimize the number of sockets and threads, this class creates a daemon thread to handle all responses and a single socket for sending echo request to various hosts.
| Constructor Summary | |
|---|---|
IcmpPlugin()
Constructs a new monitor. |
|
| Method Summary | |
|---|---|
String |
getProtocolName()
Returns the name of the protocol that this plugin checks on the target system for support. |
boolean |
isProtocolSupported(InetAddress address)
Returns true if the protocol defined by this plugin is supported. |
boolean |
isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
Returns true if the protocol defined by this plugin is supported. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public IcmpPlugin()
throws IOException
IOException| Method Detail |
|---|
public String getProtocolName()
getProtocolName in interface PlugingetProtocolName in class AbstractPluginpublic boolean isProtocolSupported(InetAddress address)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.
public boolean isProtocolSupported(InetAddress address,
Map<String,Object> qualifiers)
isProtocolSupported in interface PluginisProtocolSupported in class AbstractPluginaddress - The address to check for support.qualifiers - The map where qualification are set by the plugin.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||