DestreamingReceiver

Package: inet.protocolelement.transceiver

DestreamingReceiver

simple module

This module receives signals from the transmission medium (wire) as a stream. It receives the signal start and signal end separately. It sends packets to the upper layer as a whole.

Inheritance diagram

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

Extends

Name Type Description
PacketReceiverBase simple module (no description)

Parameters

Name Type Default value Description
displayStringTextFormat string "processed %p pk (%l)"

determines the text that is written on top of the submodule

datarate double

Properties

Name Value Description
display i=block/wrx
class DestreamingReceiver

Gates

Name Direction Size Description
in input
out output

Signals

Name Type Unit
receptionEnded inet::physicallayer::Signal
receptionStarted inet::physicallayer::Signal

Statistics

Name Title Source Record Unit Interpolation Mode
propagationTime propagation time s
throughput throughput throughput(receptionEnded) vector, histogram bps linear
receptionTime reception time packetDuration(receptionEnded) vector, histogram s none
flowReceptionTime flow reception time packetDuration(demuxFlow(receptionEnded)) vector, histogram s none

Direct method calls (observed)

call tofunctioninfo
PcapRecorderinet::PcapRecorder::receiveSignalpacketReceivedFromLower
PacketEmitterinet::PacketEmitter::pushPacketpushPacket

Called methods (observed)

functioninfocall from
inet::DestreamingReceiver::receiveSignalPOST_MODEL_CHANGE-=Network=-
inet::DestreamingReceiver::receiveSignalPRE_MODEL_CHANGE-=Network=-

Incoming messages (observed)

gatemsgkindctrlsrcModuletags
inSignal0StreamThroughTransmitter

Push out messages (observed)

gatemsgkindctrldestModuletags
outPacket0PacketEmitterDirectionTag, InterfaceInd, PacketProtocolTag

Shared Tagging operations (observed)

tagTypetagAction
DirectionTagaddTagIfAbsent
InterfaceIndaddTag

Region Tagging operations (observed)

tagTypetagAction
FlowTagmapAllTags

Source code

//
// This module receives signals from the transmission medium (wire) as a stream.
// It receives the signal start and signal end separately. It sends packets to
// the upper layer as a whole.
//
simple DestreamingReceiver extends PacketReceiverBase like IPacketReceiver
{
    parameters:
        @class(DestreamingReceiver);
}

File: src/inet/protocolelement/transceiver/DestreamingReceiver.ned