Class ClearingTimes


  • public class ClearingTimes
    extends de.dlr.gitlab.fame.communication.message.DataItem
    Transfers 1..N TimeStamps
    Author:
    Christoph Schimeczek, A. Achraf El Ghazi
    • Constructor Detail

      • ClearingTimes

        public ClearingTimes​(de.dlr.gitlab.fame.time.TimeStamp... times)
        Constructs a new ClearingTimes
        Parameters:
        times - any (positive) amount of TimeStamps to be transfered
        Throws:
        RuntimeException - if no TimeStamp at all is provided
      • ClearingTimes

        public ClearingTimes​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        Parameters:
        proto - protobuf representation
    • Method Detail

      • fillDataFields

        protected void fillDataFields​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem.Builder builder)
        Specified by:
        fillDataFields in class de.dlr.gitlab.fame.communication.message.DataItem
      • getTimes

        public List<de.dlr.gitlab.fame.time.TimeStamp> getTimes()
        Returns:
        List of TimeStamps