blob: 00a5565610fc107d4a25b1bcc8412da65906d607 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "getbucketlistmessage.h"
#include "getbucketlistreply.h"
#include <vespa/document/bucket/fixed_bucket_spaces.h>
#include <vespa/documentapi/messagebus/documentprotocol.h>
using document::FixedBucketSpaces;
namespace documentapi {
GetBucketListMessage::GetBucketListMessage(const document::BucketId &bucketId) :
DocumentMessage(),
_bucketId(bucketId),
_bucketSpace(FixedBucketSpaces::default_space_name())
{
}
GetBucketListMessage::~GetBucketListMessage() = default;
DocumentReply::UP
GetBucketListMessage::doCreateReply() const
{
return DocumentReply::UP(new GetBucketListReply());
}
uint32_t
GetBucketListMessage::getType() const
{
return DocumentProtocol::MESSAGE_GETBUCKETLIST;
}
}
|