Interface ITransmissionPayloadDemandCalculator<PayloadType,DemandType>

Type Parameters:
PayloadType - the type of payloads supported by this calculator
DemandType - the type of demand, determined by this calculator
All Known Implementing Classes:
MiddlewareCompletionAwareDemandCalculator, NoDemandCalculator, StackFrameBytesizeAccumulatingDemandCalculator

public interface ITransmissionPayloadDemandCalculator<PayloadType,DemandType>
Determines the demand stemming from transmitting a given payload.
  • Method Details

    • calculatePayloadDemand

      DemandType calculatePayloadDemand(PayloadType payload)
      Calculate the demand induced by transmitting payload.
      Parameters:
      payload - the payload to transmit
      Returns:
      the induced demand