public interface Plugin
The CapsdPlugin interface is the basic interface that a plugin for the capabilites daemon must support. The interface allows the daemon to determine what protocols can be verified by the plugin and has the required methods to verify protocol support for nodes/protocol pairs.
Modifier and Type | Method and Description |
---|---|
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.
|
String getProtocolName()
boolean isProtocolSupported(InetAddress address)
address
- The address to check for support.boolean isProtocolSupported(InetAddress address, Map<String,Object> qualifiers)
address
- The address to check for support.qualifiers
- The map where qualification are set by the plugin.Copyright © 2017. All rights reserved.