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

Method updateConnection

src/master/framework.cpp:605–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603
604
605void Framework::updateConnection(
606 const process::UPID& newPid,
607 const Owned<ObjectApprovers>& objectApprovers_)
608{
609 // Cleanup the old connection state if exists.
610 disconnect();
611 CHECK_NONE(http_);
612
613 // TODO(benh): unlink(oldPid);
614 pid_ = newPid;
615 objectApprovers = objectApprovers_;
616 setState(State::CONNECTED);
617}
618
619
620void Framework::updateConnection(

Callers 3

_subscribeMethod · 0.80
failoverFrameworkMethod · 0.80

Calls 2

NoneClass · 0.85
isNoneMethod · 0.45

Tested by

no test coverage detected