IAggregatorPolicy

Package: inet.protocolelement.aggregation.contract

module interface IAggregatorPolicy

Interface for aggregator policy modules that determine when packets can be aggregated. Implementations of this interface decide whether a new packet can be combined with the current set of aggregated packets based on various criteria such as size limits, timing constraints, or protocol-specific requirements. The policy module is consulted by the aggregator to make aggregation decisions.

See also: SubpacketLengthHeaderBasedAggregator

Inheritance diagram

Implemented by

Name

Type

Description

LengthBasedAggregatorPolicy

simple module

A policy for aggregating subpackets based on their length

Properties

Name

Value

Description

display

i=block/star

Source code

//
// Interface for aggregator policy modules that determine when packets can be
// aggregated. Implementations of this interface decide whether a new packet can be
// combined with the current set of aggregated packets based on various criteria
// such as size limits, timing constraints, or protocol-specific requirements.
// The policy module is consulted by the aggregator to make aggregation decisions.
//
// @see SubpacketLengthHeaderBasedAggregator
//
moduleinterface IAggregatorPolicy
{
    parameters:
        @display("i=block/star");
}

File: src/inet/protocolelement/aggregation/contract/IAggregatorPolicy.ned