Simple Module NotificationBoard

Package: inet.base
File: src/base/NotificationBoard.ned

C++ definition

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.

NotificationBoard

Usage diagram:

The following diagram shows usage relationships between types. Unresolved types are missing from the diagram. Click here to see the full picture.

Inheritance diagram:

The following diagram shows inheritance relationships for this type. Unresolved types are missing from the diagram. Click here to see the full picture.

Used in compound modules:

If a module type shows up more than once, that means it has been defined in more than one NED file.

BurstHost (compound module)

Definition of an IP node with a transport generator that connects to IP directly, without TCP or UDP.

ExtRouter (compound module)

External router.

LDP_LSR (compound module)

An LDP-capable router.

OSPFRouter (compound module)

An OSPFv2 router.

Router (compound module)

IP router.

Router6 (compound module)

IPv6 router.

RSVP_LSR (compound module)

An RSVP-TE capable router.

RTPHost (compound module) (no description)
StandardHost (compound module)

IP host with SCTP, TCP, UDP layers and applications.

StandardHost6 (compound module)

IPv6 host with TCP, UDP layers and applications.

StandardHostWithDLDuplicatesGenerator (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithDLDuplicatesGenerator.

StandardHostWithDLThruputMeter (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithDLThruputMeter.

StandardHostWithULDropsGenerator (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithULDropsGenerator.

StandardHostWithULThruputMeter (compound module)

IP host with SCTP, TCP, UDP layers and applications AND PPPInterfaceWithULThruputMeter.

TCPSpoofingHost (compound module)

IP host with TCPSpoof in the application layer.

Properties:

Name Value Description
display i=block/control

Source code:

//
// 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.
//
simple NotificationBoard
{
    parameters:
        @display("i=block/control");
}