InstantServer

Package: inet.queueing.server

InstantServer

simple module

C++ definition

Repeatedly pulls packets from the connected packet provider and pushes the packet into the connected packet consumer without delay.

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
ClientHost3 compound module (no description)
ClientHost4 compound module (no description)
ClientHost5 compound module (no description)
ClientHost6 compound module (no description)
ClientHost7 compound module (no description)
SenderHost compound module (no description)

Used in

Name Type Description
InputQueueSwitching network (no description)
OutputQueueSwitching network (no description)

Extends

Name Type Description
PacketServerBase simple module

Base module for various packet server modules.

Parameters

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

Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information

serveSchedulingPriority int -1

Specifies the FES scheduling priority for the extra event that is pulling the packet, -1 means no extra event

Properties

Name Value Description
class InstantServer
display i=block/server

Gates

Name Direction Size Description
in input
out output

Signals

Name Type Unit Description
packetPushed inet::Packet
packetPulled inet::Packet

Statistics

Name Title Source Record Unit Interpolation Mode Description
outgoingDataRate outgoing datarate throughput(packetPushed) vector bps linear

the statistical value is the data rate of the outgoing packets

incomingDataRate incoming datarate throughput(packetPulled) vector bps linear

the statistical value is the data rate of the incoming packets

outgoingPacketLengths outgoing packet lengths packetLength(packetPushed) sum, histogram, vector b none

the statistical value is the length of the outgoing packet

incomingPacketLengths incoming packet lengths packetLength(packetPulled) sum, histogram, vector b none

the statistical value is the length of the incoming packet

incomingPackets incoming packets packetPulled count pk

the statistical value is the incoming packet

outgoingPackets outgoing packets packetPushed count pk

the statistical value is the outgoing packet

Source code

//
// Repeatedly pulls packets from the connected packet provider and
// pushes the packet into the connected packet consumer without delay.
//
simple InstantServer extends PacketServerBase like IPacketServer
{
    parameters:
        int serveSchedulingPriority = default(-1); // Specifies the FES scheduling priority for the extra event that is pulling the packet, -1 means no extra event
        @class(InstantServer);
}
File: src/inet/queueing/server/InstantServer.ned