MCPcopy Create free account
hub / github.com/NetSys/bess / Module

Method Module

core/module.h:184–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

182 // overide this section to create a new module -----------------------------
183 public:
184 Module()
185 : name_(),
186 module_builder_(),
187 pipeline_(),
188 attrs_(),
189 attr_offsets_(),
190 tasks_(),
191 igates_(),
192 ogates_(),
193 active_workers_(Worker::kMaxWorkers, false),
194 visited_tasks_(),
195 is_task_(false),
196 parent_tasks_(),
197 children_overload_(0),
198 overload_(false),
199 node_constraints_(UNCONSTRAINED_SOCKET),
200 min_allowed_workers_(1),
201 max_allowed_workers_(1),
202 propagate_workers_(true) {}
203 virtual ~Module() {}
204
205 CommandResponse Init(const bess::pb::EmptyArg &arg);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected