aboutsummaryrefslogtreecommitdiffstats
path: root/storage/src/vespa/storageapi/mbusprot/storagemessage.h
diff options
context:
space:
mode:
Diffstat (limited to 'storage/src/vespa/storageapi/mbusprot/storagemessage.h')
-rw-r--r--storage/src/vespa/storageapi/mbusprot/storagemessage.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/storage/src/vespa/storageapi/mbusprot/storagemessage.h b/storage/src/vespa/storageapi/mbusprot/storagemessage.h
new file mode 100644
index 00000000000..61323222b89
--- /dev/null
+++ b/storage/src/vespa/storageapi/mbusprot/storagemessage.h
@@ -0,0 +1,20 @@
+// Copyright Yahoo. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+#pragma once
+
+#include <vespa/storageapi/messageapi/storagemessage.h>
+
+namespace storage::mbusprot {
+
+class StorageMessage {
+public:
+ typedef std::unique_ptr<StorageMessage> UP;
+
+ virtual ~StorageMessage() {}
+
+ virtual api::StorageMessage::SP getInternalMessage() = 0;
+ virtual api::StorageMessage::CSP getInternalMessage() const = 0;
+
+};
+
+}
+