The Ethernet Subscriber Application
This subscriber application needed in every subscriber node in a publish subscribe network. It works just over the MAC layer, and this is why it is necessary to implement MAC encapsulation. This module extends the BasePSApp module and adds the necessary functionality. For instance, it is able only to subscribe to new or existing Information Items, kept in the Information item table.
See also: BasePSApp
Author: Nikolaos Vastardis
BasePSApp (simple module) |
The Base of the Pub-Sub Ethernet Applications |
If a module type shows up more than once, that means it has been defined in more than one NED file.
SubHost (compound module) |
The Subscriber Host |
Name | Type | Default value | Description |
---|---|---|---|
actPeak | double | 30s |
The time period the application mainly active |
datarate | int | 10Mbps |
The datarate of each stream from the publisher |
subInterval | double | 10s |
time of choosing a subscriber to satisfy |
Name | Value | Description |
---|---|---|
display | i=block/app | |
class | SEtherApp |
Name | Direction | Size | Description |
---|---|---|---|
ifIn [ ] | input | ||
ifOut [ ] | output |
// // <b> The Ethernet Subscriber Application </b> // // This subscriber application needed in every subscriber node in a publish // subscribe network. It works just over the MAC layer, and this is why it // is necessary to implement MAC encapsulation. This module extends the // BasePSApp module and adds the necessary functionality. For instance, // it is able only to subscribe to new or existing Information Items, kept in // the Information item table. // // @see BasePSApp // // @author Nikolaos Vastardis // simple SEtherApp extends BasePSApp { parameters: @class(SEtherApp); double subInterval @unit("s") = default(10s); // time of choosing a subscriber to satisfy @display("i=block/app"); }