Class SnmpDetector

    • Field Detail

      • DEFAULT_SERVICE_NAME

        protected static final java.lang.String DEFAULT_SERVICE_NAME
        Constant DEFAULT_SERVICE_NAME="SNMP"
        See Also:
        Constant Field Values
    • Constructor Detail

      • SnmpDetector

        public SnmpDetector()

        Constructor for SnmpDetector.

      • SnmpDetector

        public SnmpDetector​(java.lang.String serviceName,
                            int port)
        Constructor for creating a non-default service based on this protocol
        Parameters:
        serviceName - a String object.
        port - a int.
    • Method Detail

      • getIsTable

        public java.lang.String getIsTable()
      • setIsTable

        public void setIsTable​(java.lang.String table)
      • setHex

        public void setHex​(java.lang.String hex)
      • getHex

        public java.lang.String getHex()
      • isHex

        protected boolean isHex()
      • configureAgentVersion

        protected void configureAgentVersion​(SnmpAgentConfig agentConfig)

        configureAgentVersion

        Parameters:
        agentConfig - a SnmpAgentConfig object.
      • configureAgentPTR

        protected void configureAgentPTR​(SnmpAgentConfig agentConfig)

        configureAgentPTR

        Parameters:
        agentConfig - a SnmpAgentConfig object.
      • getValue

        protected static java.lang.String getValue​(SnmpAgentConfig agentConfig,
                                                   java.lang.String oid,
                                                   boolean hex)

        getValue

        Parameters:
        agentConfig - a SnmpAgentConfig object.
        oid - a String object.
        Returns:
        a String object.
      • setOid

        public void setOid​(java.lang.String oid)

        setOid

        Parameters:
        oid - a String object.
      • getOid

        public java.lang.String getOid()

        getOid

        Returns:
        a String object.
      • setForceVersion

        public void setForceVersion​(java.lang.String forceVersion)

        setForceVersion

        Parameters:
        forceVersion - a String object.
      • getForceVersion

        public java.lang.String getForceVersion()

        getForceVersion

        Returns:
        a String object.
      • setVbvalue

        public void setVbvalue​(java.lang.String vbvalue)

        setVbvalue

        Parameters:
        vbvalue - a String object.
      • getVbvalue

        public java.lang.String getVbvalue()

        getVbvalue

        Returns:
        a String object.
      • setMatchType

        public void setMatchType​(java.lang.String matchType)
      • getMatchType

        public java.lang.String getMatchType()
      • setSnmpDetectorExecutor

        public void setSnmpDetectorExecutor​(java.util.concurrent.ExecutorService snmpDetectorExecutor)
      • setUseSnmpProfiles

        public void setUseSnmpProfiles​(java.lang.String useSnmpProfiles)