Package: inet.protocolelement.transceiver
StreamThroughReceiver
simple moduleThis module receives signals from the transmission medium (wire) as a stream and also sends packets to the upper layer as a stream. The stream start and stream end are sent seperately allowing the preemption of signals.
Inheritance diagram
The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram.
Extends
Name | Type | Description |
---|---|---|
StreamingReceiverBase | 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 | StreamThroughReceiver |
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 to | function | info |
---|---|---|
EthernetCutthroughSource | inet::EthernetCutthroughSource::pushPacketEnd | pushPacketEnd |
EthernetCutthroughSource | inet::EthernetCutthroughSource::pushPacketStart | pushPacketStart |
Called methods (observed)
function | info | call from |
---|---|---|
inet::StreamThroughReceiver::receiveSignal | POST_MODEL_CHANGE | -=Network=- |
Incoming messages (observed)
gate | msg | kind | ctrl | srcModule | tags |
---|---|---|---|---|---|
in | Signal | 0 | StreamThroughTransmitter | ||
in | Signal | 0 | StreamingTransmitter |
Push out messages (observed)
gate | msg | kind | ctrl | destModule | tags |
---|---|---|---|---|---|
out | Packet | 0 | EthernetCutthroughSource | DirectionTag, InterfaceInd, PacketProtocolTag |
Packet operations (observed)
chunkType | packetAction |
---|---|
peekData, setBackOffset, setFrontOffset | |
EthernetFcs | popAtBack |
EthernetMacHeader | popAtFront |
EthernetPhyHeaderBase | popAtFront |
Shared Tagging operations (observed)
tagType | tagAction |
---|---|
DirectionTag | addTagIfAbsent |
InterfaceInd | addTag |
PacketProtocolTag | findTag |
Region Tagging operations (observed)
tagType | tagAction |
---|---|
FlowTag | mapAllTags |
Source code
// // This module receives signals from the transmission medium (wire) as a stream and // also sends packets to the upper layer as a stream. The stream start and stream // end are sent seperately allowing the preemption of signals. // simple StreamThroughReceiver extends StreamingReceiverBase like IPacketReceiver { parameters: @class(StreamThroughReceiver); }File: src/inet/protocolelement/transceiver/StreamThroughReceiver.ned