PeriodicLossChannel¶
Package: inet.common.misc
channel PeriodicLossChannel
This channel uses the per parameter for periodic packet loss. That means it delivers exactly 1/per packets, followed by one drop. It does not use the BER paramater.
Inheritance diagram¶
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 |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
PeriodicLossChannel |
Source code¶
//
// This channel uses the per parameter for periodic packet loss. That means it
// delivers exactly 1/per packets, followed by one drop. It does not use the
// BER paramater.
//
channel PeriodicLossChannel extends ned.DatarateChannel
{
ber = 0; // Larger values will be ignored, only PER is used.
@class(PeriodicLossChannel);
}