mesos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bannier <benjamin.bann...@mesosphere.io>
Subject Re: install function
Date Thu, 14 Sep 2017 10:20:14 GMT
Hi,

> 	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);

It is defined in the header file, e.g.,

  https://github.com/apache/mesos/blob/38cb694f55ec8ab69efa83e1b958eac071fee2d4/3rdparty/libprocess/include/process/protobuf.hpp#L208-L228


Cheers,

Benjamin
Mime
View raw message