QuicDiscardServer¶
Package: inet.applications.quicapp
simple module QuicDiscardServer
A QUIC server that reads and discards all received data.
Inheritance diagram¶
Extends¶
Name |
Type |
Description |
|---|---|---|
simple module |
Base module for all INET simple modules. |
Parameters¶
Name |
Type |
Default value |
Description |
|---|---|---|---|
displayStringTextFormat |
string |
“” |
Determines the text that is written on top of the submodule, supports displaying pars, watches, and module-specific information |
localAddress |
string |
“” |
comma separated list of addresses |
localPort |
int |
0 |
port number to listen on |
Properties¶
Name |
Value |
Description |
|---|---|---|
class |
QuicDiscardServer |
Gates¶
Name |
Direction |
Size |
Description |
|---|---|---|---|
socketIn |
input |
||
socketOut |
output |
Signals¶
Name |
Type |
Unit |
Description |
|---|---|---|---|
bytesReceived |
Statistics¶
Name |
Title |
Source |
Record |
Unit |
Interpolation Mode |
Description |
|---|---|---|---|---|---|---|
bytesReceived |
vector |
Source code¶
// A QUIC server that reads and discards all received data.
simple QuicDiscardServer extends SimpleModule like IApp
{
parameters:
@class(QuicDiscardServer);
@signal[bytesReceived];
@statistic[bytesReceived](record=vector);
string localAddress = default(""); // comma separated list of addresses
int localPort = default(0); // port number to listen on
gates:
input socketIn;
output socketOut;
}