Channel DelayChannel

Package: ned
Built-in type

(no description)

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram.

Inheritance diagram:

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

Used in compound modules:

Name Type Description
OSPF_Area2 compound module (no description)

Networks:

Name Type Description
HubLAN network

Sample Ethernet LAN: four hosts connected by a hub.

MixedLAN network

Sample Ethernet LAN containing eight hosts, a switch and a bus.

OSPF_AreaTest network (no description)
TwoHosts network

Sample Ethernet LAN: two hosts directly connected to each other via twisted pair.

Parameters:

Name Type Default value Description
disabled bool false
delay double 0s

propagation delay

Properties:

Name Value Description
class cDelayChannel

Signals:

Name Type Unit
messageDiscarded cMessage
messageSent cMessage

Statistics:

Name Title Source Record Unit Interpolation Mode
messagesDiscarded constant1(messageDiscarded) count? none
messages constant1(messageSent) count? none

Source code:

channel DelayChannel
{
    @class(cDelayChannel);
    @signal[messageSent](type=cMessage);
    @signal[messageDiscarded](type=cMessage);
    @statistic[messages](source="constant1(messageSent)"; record=count?; interpolationmode=none);
    @statistic[messagesDiscarded](source="constant1(messageDiscarded)"; record=count?; interpolationmode=none);
    bool disabled = default(false);
    double delay @unit(s) = default(0s); // propagation delay
}