Interface ScanContext


  • public interface ScanContext

    ScanContext interface.

    Version:
    $Id: $
    Author:
    ranger
    • Method Detail

      • getAgentAddress

        InetAddress getAgentAddress​(String agentType)
        Return the preferred address used to talk to the agent of type type provided e.g. use getAgentAddress("SNMP") to find the InetAddress for the SNMP Agent for the node being scanned.
        Parameters:
        agentType - the type of agent to search for
        Returns:
        the InetAddress for the agent or null if no such agent exists
      • updateSysObjectId

        void updateSysObjectId​(String sysObjectId)

        updateSysObjectId

        Parameters:
        sysObjectId - a String object.
      • updateSysName

        void updateSysName​(String sysName)

        updateSysName

        Parameters:
        sysName - a String object.
      • updateSysDescription

        void updateSysDescription​(String sysDescription)

        updateSysDescription

        Parameters:
        sysDescription - a String object.
      • updateSysLocation

        void updateSysLocation​(String sysLocation)

        updateSysLocation

        Parameters:
        sysLocation - a String object.
      • updateSysContact

        void updateSysContact​(String sysContact)

        updateSysContact

        Parameters:
        sysContact - a String object.