Class HeartbeatDataFunction

    • Method Detail

      • read

        public org.openmuc.jeebus.spine.xsd.v1.CmdType read​(org.openmuc.jeebus.spine.xsd.v1.FilterType filter,
                                                            org.openmuc.jeebus.spine.xsd.v1.FeatureAddressType featureAddress)
        Specified by:
        read in class FeatureFunction
        Parameters:
        filter - filter for partial read otherwise null
        featureAddress - the feature address of the client feature
        Returns:
        an CmdType instance filled with the requested information
      • write

        public SpineAcknowledgment write​(org.openmuc.jeebus.spine.xsd.v1.CmdType cmdType,
                                         org.openmuc.jeebus.spine.xsd.v1.FeatureAddressType featureAddressType)
        Specified by:
        write in class FeatureFunction
        Parameters:
        cmdType - to be written data including optional filters for restricted function exchange
        featureAddressType - the feature address of the client feature
        Returns:
        an acknowledgment stating the result of the operation
      • call

        public SpineAcknowledgment call​(org.openmuc.jeebus.spine.xsd.v1.CmdType cmd,
                                        org.openmuc.jeebus.spine.xsd.v1.FeatureAddressType sourceAddress)
        Specified by:
        call in class FeatureFunction
        Parameters:
        cmd - the command data belonging to this function call
        sourceAddress - the feature address of the client feature
        Returns:
        an acknowledgment stating the result of the operation
      • startHeartbeat

        public java.util.concurrent.ScheduledFuture<?> startHeartbeat()
      • increaseCounterAndNotifySubscribers

        public void increaseCounterAndNotifySubscribers()
      • shutdownExecutor

        public void shutdownExecutor()
      • close

        public void close()
        Description copied from interface: Shutdownable
        Cleanly and promptly shut down this object, as well as all child objects and objects depending on this one.