Cable

Package: inet.common

channel Cable

(no description)

Inheritance diagram

channel CableCablechannel DatarateChannelDatarateChannelchannel EthernetLinkEthernetLink

Known subclasses

Name

Type

Description

EthernetLink

channel

EthernetLink provides a base channel type for Ethernet connections with configurable length and propagation delay. It extends the Cable type and calculates the delay based on the physical length of the cable and the speed of light in the medium.

Extends

Name

Type

Description

DatarateChannel

channel

(no description)

Parameters

Name

Type

Default value

Description

disabled

bool

false

delay

double

0s

datarate

double

0bps

ber

double

0

per

double

0

enabledLineStyle

string

“solid”

disabledLineStyle

string

“dashed”

disabledIcon

string

“status/cross”

Properties

Name

Value

Description

class

Cable

Source code

channel Cable extends DatarateChannel
{
    parameters:
        string enabledLineStyle = default("solid");
        string disabledLineStyle = default("dashed");
        string disabledIcon = default("status/cross");
        @class(Cable);
}

File: src/inet/common/Cable.ned