Interface PollContext

    • Method Detail

      • getServiceName

        String getServiceName()

        getServiceName

        Returns:
        a String object.
      • setServiceName

        void setServiceName​(String serviceName)

        setServiceName

        Parameters:
        serviceName - a String object.
      • sendEvent

        void sendEvent​(Event event)

        sendEvent

        Parameters:
        event - the event to send
      • get

        List<OnmsSnmpInterface> get​(int nodeId,
                                    String criteria)

        get

        Parameters:
        nodeId - a int.
        criteria - a String object.
        Returns:
        The List of OnmsSnmpInterfaces to be polled
      • getPollableNodesByIp

        List<OnmsIpInterface> getPollableNodesByIp​(String ipaddr)

        getPollableNodesByIp

        Parameters:
        ipaddr - the ip address of the node.
        Returns:
        The List of OnmsIpInterfaces to be polled
      • getPollableNodes

        List<OnmsIpInterface> getPollableNodes()

        getPollableNodes

        Returns:
        The List of OnmsIpInterfaces to be polled