// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once #include "visitormessagesession.h" #include namespace storage { class Visitor; class VisitorThread; struct VisitorMessageSessionFactory { using UP = std::unique_ptr; virtual ~VisitorMessageSessionFactory() = default; virtual VisitorMessageSession::UP createSession(Visitor&, VisitorThread&) = 0; virtual documentapi::Priority::Value toDocumentPriority(uint8_t storagePriority) const = 0; }; } // storage