Class PollableSnmpInterface.SnmpMinimalPollInterface

    • Method Detail

      • getIfindex

        public int getIfindex()
      • setIfindex

        public void setIfindex​(int ifindex)
      • setAdminstatus

        public void setAdminstatus​(SnmpInterfaceStatus adminstatus)
        Parameters:
        adminstatus - valid values are up(1), down(2), testing(3) according to RFC 2863. Value will be set to invalid(0) in the case where an improper value is attempted to be set.
      • setOperstatus

        public void setOperstatus​(SnmpInterfaceStatus operstatus)
        Parameters:
        operstatus - valid values are up(1), down(2), testing(3), unknown(4), dormant(5), notPresent(6), lowerLayerDown(7) according to RFC 2863
      • getStatus

        public PollStatus getStatus()
        Returns:
        PollStatus indicating whether getting ifAdminStatus and ifOperStatus succeeded
      • setStatus

        public void setStatus​(PollStatus status)
      • getOperPollStatus

        public PollStatus getOperPollStatus()
        Returns:
        PollStatus indicating the status based on config and values of ifOperStatus and ifAdminStatus
      • setOperPollStatus

        public void setOperPollStatus​(PollStatus operPollStatus)
      • getAdminPollStatus

        public PollStatus getAdminPollStatus()
        Returns:
        PollStatus indicating current admin status based on config and values retrieved
      • setAdminPollStatus

        public void setAdminPollStatus​(PollStatus adminPollStatus)