Class Ackd

    • Constructor Detail

      • Ackd

        public Ackd()
    • Method Detail

      • destroy

        public void destroy()

        destroy

        Specified by:
        destroy in interface org.springframework.beans.factory.DisposableBean
      • startReaders

        protected void startReaders()
        Starts the AckReaders without indicating a reload of their configuration is necessary.
      • startReaders

        protected void startReaders​(boolean reloadConfig)
        Starts the AckReaders indicating a reload of their configuration is necessary.
        Parameters:
        reloadConfig - a boolean.
      • stopReaders

        protected void stopReaders()

        stopReaders

      • pauseReaders

        protected void pauseReaders()

        pauseReaders

      • resumeReaders

        protected void resumeReaders()

        resumeReaders

      • restartReaders

        protected void restartReaders​(boolean reloadConfigs)

        restartReaders

        Parameters:
        reloadConfigs - a boolean.
      • handleAckEvent

        public void handleAckEvent​(IEvent event)
        Handles the event driven access to acknowledging OnmsAcknowledgables. The acknowledgment event contains 4 parameters: ackUser: The user acknowledging the OnmsAcknowledgable ackAction: ack, unack, esc, clear ackType: AckTypeOnmsAlarm, OnmsNotification, etc. refId: The ID of the OnmsAcknowledgable
        Parameters:
        event - a IEvent object.
      • handleReloadConfigEvent

        public void handleReloadConfigEvent​(IEvent event)

        handleReloadConfigEvent

        Parameters:
        event - a IEvent object.
      • setEventForwarder

        public void setEventForwarder​(EventForwarder eventForwarder)

        setEventForwarder

        Parameters:
        eventForwarder - a EventForwarder object.
      • getAckReaders

        protected List<AckReader> getAckReaders()

        getAckReaders

        Returns:
        a List object.
      • setAckReaders

        public void setAckReaders​(List<AckReader> ackReaders)

        setAckReaders

        Parameters:
        ackReaders - a List object.
      • afterPropertiesSet

        public void afterPropertiesSet()
                                throws Exception

        afterPropertiesSet

        Specified by:
        afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
        Throws:
        Exception - if any.
      • getName

        public String getName()

        getName

        Returns:
        a String object.