The Publish Subscribe Forwarder
Implements the Publish-Subscribe Forwarder. The protocol header is represented by the PSEtherApp message class.
Interfacing with other layer protocols
There is no interaction with higher layers. Everything for the Forwarded is quite flat. All the links, even for higher layer protocols are identified by an LID. If the received message's FID matches this LID, then the message will be forwarded through that link.
See also: FwTable, PSEtherAppMsg
Author: Nikolaos Vastardis
If a module type shows up more than once, that means it has been defined in more than one NED file.
PSRouter (compound module) |
The Publish-Subscribe Router |
Name | Type | Default value | Description |
---|---|---|---|
procDelay | double | 0s |
Name | Value | Description |
---|---|---|
display | i=block/fork |
Name | Direction | Size | Description |
---|---|---|---|
ifIn [ ] | input | ||
ifOut [ ] | output |
input queueIn[] @labels(IPDatagram); output queueOut @labels(IPDatagram); |
// // <b> The Publish Subscribe Forwarder </b> // // Implements the Publish-Subscribe Forwarder. The protocol header is represented // by the PSEtherApp message class. // // <i>Interfacing with other layer protocols</i> // // There is no interaction with higher layers. Everything for the Forwarded is // quite flat. All the links, even for higher layer protocols are identified by // an LID. If the received message's FID matches this LID, then the message will // be forwarded through that link. // // @see FwTable, PSEtherAppMsg // // @author Nikolaos Vastardis // simple Forwarder { parameters: double procDelay @unit("s") = default(0s); @display("i=block/fork"); gates: input ifIn[]; output ifOut[]; //input queueIn[] @labels(IPDatagram); //output queueOut @labels(IPDatagram); }