hi, all: I now read Mesos-1.3.0 sourcecode ,but i am in troubled for Master initialize() function。 can you help me?
in Master’s initialize() function : install<RegisterSlaveMessage>( &Master::registerSlave, &RegisterSlaveMessage::slave, &RegisterSlaveMessage::checkpointed_resources, &RegisterSlaveMessage::version, &RegisterSlaveMessage::agent_capabilities); but i can not find this function define in the protobuf.cpp file. one template parameter only two functions template <typename M> void install(void (T::*method)(const process::UPID&, const M&)); template <typename M> void install(void (T::*method)(const process::UPID&)); My trouble is the two functions’s parameters does match . anyone help me?