Class SupportResponseData

  • public class SupportResponseData
    extends de.dlr.gitlab.fame.communication.message.DataItem
    Holds the response of the support policy agent to a SupportRequestData item, i.e. the actual support payed out
    Johannes Kochems, Christoph Schimeczek
    • Field Detail

      • accountingPeriod

        public final de.dlr.gitlab.fame.time.TimePeriod accountingPeriod
        the accounting period for calculating the support payments
      • payment

        public final double payment
        the support payed out
      • marketPremium

        public final double marketPremium
        the market premium (if applicable, i.e. a MPVAR, MPFIX or CFD scheme)
      • clientId

        public final long clientId
        Id of the client receiving support
    • Constructor Detail

      • SupportResponseData

        public SupportResponseData​(SupportRequestData supportRequestData,
                                   double payment,
                                   double marketPremium)
        supportRequestData - original support request
        payment - to the client
        marketPremium - applicable for the client
      • SupportResponseData

        public SupportResponseData​(de.dlr.gitlab.fame.protobuf.Agent.ProtoDataItem proto)
        Mandatory for deserialisation of DataItems
        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