CarrierBasedLifeTimer¶
Package: inet.protocolelement.lifetime
simple module CarrierBasedLifeTimer
(no description)
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
Base module for all INET simple modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
collectionModule |
string |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
CarrierBasedLifeTimer |
|
display |
i=block/timer |
Signals¶
Name |
Type |
Unit |
Description |
|---|---|---|---|
packetDropped |
Statistics¶
Name |
Title |
Source |
Record |
Unit |
Interpolation Mode |
Description |
|---|---|---|---|---|---|---|
packetDropInterfaceDown |
packet drop: interface down |
packetDropReasonIsInterfaceDown(packetDropped) |
count,sum(packetBytes),vector(packetBytes) |
none |
Source code¶
simple CarrierBasedLifeTimer extends SimpleModule like IPacketLifeTimer
{
parameters:
@class(CarrierBasedLifeTimer);
string collectionModule;
@display("i=block/timer");
@class(CarrierBasedLifeTimer);
@signal[packetDropped](type=inet::Packet);
@statistic[packetDropInterfaceDown](title="packet drop: interface down"; source=packetDropReasonIsInterfaceDown(packetDropped); record=count,sum(packetBytes),vector(packetBytes); interpolationmode=none);
}
File: src/inet/protocolelement/lifetime/CarrierBasedLifeTimer.ned