|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CapsdConfig
CapsdConfig interface.
| Field Summary | |
|---|---|
static int |
LAME_SNMP_HOST_IFINDEX
This integer value is used to represent the primary snmp interface ifindex in the ipinterface table for SNMP hosts that don't support the MIB2 ipAddrTable |
| Method Summary | |
|---|---|
void |
addProtocolPlugin(ProtocolPlugin plugin)
addProtocolPlugin |
InetAddress |
determinePrimarySnmpInterface(List<InetAddress> addressList,
boolean strict)
determinePrimarySnmpInterface |
boolean |
getAbortProtocolScansFlag()
Defines Capsd's behavior when, during a protocol scan, it gets a java.net.NoRouteToHostException exception. |
CapsdConfiguration |
getConfiguration()
Return the Capsd configuration object. |
List<String> |
getConfiguredProtocols()
getConfiguredProtocols |
boolean |
getDeletePropagationEnabled()
getDeletePropagationEnabled |
long |
getInitialSleepTime()
getInitialSleepTime |
int |
getMaxRescanThreadPoolSize()
getMaxRescanThreadPoolSize |
int |
getMaxSuspectThreadPoolSize()
getMaxSuspectThreadPoolSize |
List<Property> |
getPluginProperties(ProtocolPlugin plugin)
getPluginProperties |
List<Property> |
getProtocolConfigurationProperties(ProtocolConfiguration pluginConf)
getProtocolConfigurationProperties |
List<ProtocolConfiguration> |
getProtocolConfigurations(ProtocolPlugin plugin)
getProtocolConfigurations |
ProtocolPlugin |
getProtocolPlugin(String svcName)
getProtocolPlugin |
List<ProtocolPlugin> |
getProtocolPlugins()
getProtocolPlugins |
List<Range> |
getRanges(ProtocolConfiguration pluginConf)
getRanges |
long |
getRescanFrequency()
getRescanFrequency |
SmbAuth |
getSmbAuth(String target)
Finds the SMB authentication object using the netbios name. |
List<String> |
getSpecifics(ProtocolConfiguration pluginConf)
getSpecifics |
String |
getXmlrpc()
Return the boolean xmlrpc as string to indicate if notification to external xmlrpc server is needed. |
boolean |
isAddressUnmanaged(InetAddress target)
Checks the configuration to determine if the target is managed or unmanaged. |
boolean |
isXmlRpcEnabled()
isXmlRpcEnabled |
void |
save()
Saves the current in-memory configuration to disk and reloads |
| Field Detail |
|---|
static final int LAME_SNMP_HOST_IFINDEX
| Method Detail |
|---|
void save()
throws org.exolab.castor.xml.MarshalException,
IOException,
org.exolab.castor.xml.ValidationException
org.exolab.castor.xml.MarshalException - if any.
IOException - if any.
org.exolab.castor.xml.ValidationException - if any.CapsdConfiguration getConfiguration()
CapsdConfiguration object.SmbAuth getSmbAuth(String target)
target - a String object.
SmbAuth object.boolean isAddressUnmanaged(InetAddress target)
target - The target to check against.
long getRescanFrequency()
getRescanFrequency
long getInitialSleepTime()
getInitialSleepTime
int getMaxSuspectThreadPoolSize()
getMaxSuspectThreadPoolSize
int getMaxRescanThreadPoolSize()
getMaxRescanThreadPoolSize
boolean getAbortProtocolScansFlag()
boolean getDeletePropagationEnabled()
getDeletePropagationEnabled
String getXmlrpc()
boolean isXmlRpcEnabled()
isXmlRpcEnabled
ProtocolPlugin getProtocolPlugin(String svcName)
getProtocolPlugin
svcName - a String object.
ProtocolPlugin object.void addProtocolPlugin(ProtocolPlugin plugin)
addProtocolPlugin
plugin - a ProtocolPlugin object.
InetAddress determinePrimarySnmpInterface(List<InetAddress> addressList,
boolean strict)
determinePrimarySnmpInterface
addressList - a List object.strict - a boolean.
InetAddress object.List<String> getConfiguredProtocols()
getConfiguredProtocols
List object.List<ProtocolPlugin> getProtocolPlugins()
getProtocolPlugins
List object.List<ProtocolConfiguration> getProtocolConfigurations(ProtocolPlugin plugin)
getProtocolConfigurations
plugin - a ProtocolPlugin object.
List object.List<String> getSpecifics(ProtocolConfiguration pluginConf)
getSpecifics
pluginConf - a ProtocolConfiguration object.
List object.List<Range> getRanges(ProtocolConfiguration pluginConf)
getRanges
pluginConf - a ProtocolConfiguration object.
List object.List<Property> getPluginProperties(ProtocolPlugin plugin)
getPluginProperties
plugin - a ProtocolPlugin object.
List object.List<Property> getProtocolConfigurationProperties(ProtocolConfiguration pluginConf)
getProtocolConfigurationProperties
pluginConf - a ProtocolConfiguration object.
List object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||