Interface ITransmissionPayloadDemandCalculator<PayloadType,DemandType>
- Type Parameters:
PayloadType
- the type of payloads supported by this calculatorDemandType
- 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 Summary
Modifier and TypeMethodDescriptioncalculatePayloadDemand
(PayloadType payload) Calculate the demand induced by transmitting payload.
-
Method Details
-
calculatePayloadDemand
Calculate the demand induced by transmitting payload.- Parameters:
payload
- the payload to transmit- Returns:
- the induced demand
-