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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DemandType
calculatePayloadDemand(PayloadType payload)
Calculate the demand induced by transmitting payload.
-
-
-
Method Detail
-
calculatePayloadDemand
DemandType calculatePayloadDemand(PayloadType payload)
Calculate the demand induced by transmitting payload.- Parameters:
payload
- the payload to transmit- Returns:
- the induced demand
-
-