25 void process(
const MessageVariant &msg)
override = 0;
29 virtual std::future<FindResult> find(
FindQuery query) = 0;
31 virtual void localInsert(std::vector<Entry> entries) = 0;
32 virtual void localUpdate(std::vector<Entry> entries) = 0;
33 virtual void localRemove(std::vector<std::string> keys) = 0;
35 virtual void processTimeout(
const TimeoutType &type) = 0;
37 static std::vector<minhton::MessageType> getSupportedMessageTypes() {
39 MessageType::kAttributeInquiryAnswer, MessageType::kAttributeInquiryRequest,
40 MessageType::kFindQueryAnswer, MessageType::kFindQueryRequest,
41 MessageType::kSubscriptionOrder, MessageType::kSubscriptionUpdate,
42 MessageType::kSearchExactFailure