Skip to content

Commit

Permalink
Style fixes for master.hpp.
Browse files Browse the repository at this point in the history
  • Loading branch information
jieyu committed Jan 22, 2015
1 parent 0906abc commit 6b97d5b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions src/master/master.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -107,78 +107,96 @@ class Master : public ProtobufProcess<Master>
// Message handlers.
void submitScheduler(
const std::string& name);

void registerFramework(
const process::UPID& from,
const FrameworkInfo& frameworkInfo);

void reregisterFramework(
const process::UPID& from,
const FrameworkInfo& frameworkInfo,
bool failover);

void unregisterFramework(
const process::UPID& from,
const FrameworkID& frameworkId);

void deactivateFramework(
const process::UPID& from,
const FrameworkID& frameworkId);

void resourceRequest(
const process::UPID& from,
const FrameworkID& frameworkId,
const std::vector<Request>& requests);

void launchTasks(
const process::UPID& from,
const FrameworkID& frameworkId,
const std::vector<TaskInfo>& tasks,
const Filters& filters,
const std::vector<OfferID>& offerIds);

void reviveOffers(
const process::UPID& from,
const FrameworkID& frameworkId);

void killTask(
const process::UPID& from,
const FrameworkID& frameworkId,
const TaskID& taskId);

void statusUpdateAcknowledgement(
const process::UPID& from,
const SlaveID& slaveId,
const FrameworkID& frameworkId,
const TaskID& taskId,
const std::string& uuid);

void schedulerMessage(
const process::UPID& from,
const SlaveID& slaveId,
const FrameworkID& frameworkId,
const ExecutorID& executorId,
const std::string& data);

void registerSlave(
const process::UPID& from,
const SlaveInfo& slaveInfo,
const std::string& version);

void reregisterSlave(
const process::UPID& from,
const SlaveInfo& slaveInfo,
const std::vector<ExecutorInfo>& executorInfos,
const std::vector<Task>& tasks,
const std::vector<Archive::Framework>& completedFrameworks,
const std::string& version);

void unregisterSlave(
const process::UPID& from,
const SlaveID& slaveId);

void statusUpdate(
const StatusUpdate& update,
const process::UPID& pid);

void reconcileTasks(
const process::UPID& from,
const FrameworkID& frameworkId,
const std::vector<TaskStatus>& statuses);

void exitedExecutor(
const process::UPID& from,
const SlaveID& slaveId,
const FrameworkID& frameworkId,
const ExecutorID& executorId,
int32_t status);

void shutdownSlave(
const SlaveID& slaveId,
const std::string& message);

void authenticate(
const process::UPID& from,
const process::UPID& pid);
Expand Down

0 comments on commit 6b97d5b

Please sign in to comment.