D2dBinder
Package: simu5g.stack.d2d.binder
D2dBinder
simple moduleGlobal holder of the D2D-specific network state, split out of the core Binder.
It keeps the D2D peering map (whether pairs of D2D-capable UEs communicate in Direct or Infrastructure Mode) and the set of D2D one-to-many transmitters, and answers the D2D capability/mode queries derived from them.
A single instance exists per network. It is not placed in network NED files: the first D2D module that needs it creates it dynamically under the network module (see D2dBinder::getInstance()). The module is a passive state container with no events, signals or statistics.
Parameters
| Name | Type | Default value | Description |
|---|---|---|---|
| binderModule | string | "binder" |
Properties
| Name | Value | Description |
|---|---|---|
| display | i=block/cogwheel |
Source code
// // Global holder of the D2D-specific network state, split out of the core ~Binder. // // It keeps the D2D peering map (whether pairs of D2D-capable UEs communicate in // Direct or Infrastructure Mode) and the set of D2D one-to-many transmitters, // and answers the D2D capability/mode queries derived from them. // // A single instance exists per network. It is not placed in network NED files: // the first D2D module that needs it creates it dynamically under the network // module (see D2dBinder::getInstance()). The module is a passive state // container with no events, signals or statistics. // simple D2dBinder { parameters: string binderModule = default("binder"); @display("i=block/cogwheel"); }File: src/simu5g/stack/d2d/binder/D2dBinder.ned