MCPcopy Create free account
hub / github.com/apache/mesos / initialize

Method initialize

src/cli/execute.cpp:429–440  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427
428protected:
429 void initialize() override
430 {
431 // We initialize the library here to ensure that callbacks are only invoked
432 // after the process has spawned.
433 mesos.reset(new Mesos(
434 master,
435 contentType,
436 process::defer(self(), &Self::connected),
437 process::defer(self(), &Self::disconnected),
438 process::defer(self(), &Self::received, lambda::_1),
439 credential));
440 }
441
442 void connected()
443 {

Callers

nothing calls this directly

Calls 2

deferFunction · 0.85
resetMethod · 0.45

Tested by

no test coverage detected