IAggregatorPolicy

Package: inet.protocolelement.aggregation.contract

IAggregatorPolicy

module interface

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.

<b>See also:</b> SubpacketLengthHeaderBasedAggregator

Inheritance diagram

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.

Implemented by

Name Type Description
LengthBasedAggregatorPolicy simple module

A policy for aggregating subpackets based on their length

Used in compound modules

Name Type Description
AggregatorBase compound module

Base module for packet aggregation. Collects multiple packets and combines them into a single aggregated packet based on a configurable aggregation policy. Aggregation improves network efficiency by reducing header overhead when transmitting multiple small packets. The module delegates the aggregation decision to a policy class or module that determines if a packet can be aggregated with the current set.

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