File: Base/NotificationBoard.ned
C++ definition: click here
Using NotificationBoard, modules can now notify each other about "events" such as routing table changes, interface status changes (up/down), interface configuration changes, wireless handovers, changes in the state of the wireless channel, mobile node position changes, etc.
The NotificationBoard has exactly one instance within a host or router model, and acts as a intermediary between module where state changes can occur and modules which are interested in learning about those changes.
NotificationBoard is accessed via direct C++ method calls (not message exchange). Modules can "subscribe" to categories of changes (e.g. "routing table changed" or "radio channel became empty"). When such a change occurs, the corresponding module (e.g. the RoutingTable or the physical layer module) will let NotificationBoard know, and it will disseminate this information to all interested modules.
The following diagram shows usage relationships between modules, networks and channels. Unresolved module (and channel) types are missing from the diagram. Click here to see the full picture.
If a module type shows up more than once, that means it has been defined in more than one NED file.
PlainMobilityHost | A host for demonstrating mobility models only -- it contains no protocol layers at all. |
StandardHost | |
QuaggaRouter | Quagga-based IP router. |
MobileHost | Models a mobile host with a wireless (802.11b) card. This module is a WirelessHost less the PPP and Ethernet interfaces, plus mobility support (BasicMobility). It is intended mainly for mobile ad-hoc networks. |
WirelessHost2 | Models a host with zero, one or more wireless (802.11b) cards. This module is a variation of WirelessHost. |
Router | IP router. |
WirelessHost | Models a host with one wireless (802.11b) card. This module is basically a StandardHost with a Nic80211 added. |
BurstHost | Definition of an IP node with a transport generator that connects to IP directly, without TCP or UDP. |
OSPFRouter | IP router. |
TCPSpoofingHost | IP host with TCPSpoof in the application layer. |
Router6 | IPv6 router. |
StandardHost6 | |
LDP_LSR | An LDP-capable router. |
RSVP_LSR | An RSVP-TE capable router. |
simple NotificationBoard endsimple