summaryrefslogtreecommitdiffstats
path: root/src/messages/MMDSOp.h
blob: 53a67ea85fcebb29fc786727afb04da8e11642ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

#include "msg/Message.h"

/*
 * MMDSOp is used to ensure that all incoming MDS-MDS
 * messages in MDSRankDispatcher are versioned. Therefore
 * all MDS-MDS messages must be of type MMDSOp.
 */
class MMDSOp : public SafeMessage {
public:
  template<typename... Types>
  MMDSOp(Types&&... args)
    : SafeMessage(std::forward<Types>(args)...) {}
};