blob: 40e0d4c25f0eca7c7aadc860ed2507c8473d46a3 (
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
34
35
36
37
38
39
|
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#include "simplereply.h"
#include "simpleprotocol.h"
namespace mbus {
SimpleReply::SimpleReply(const string &str) :
Reply(),
_value(str)
{ }
SimpleReply::~SimpleReply() { }
void
SimpleReply::setValue(const string &value)
{
_value = value;
}
const string &
SimpleReply::getValue() const
{
return _value;
}
const string &
SimpleReply::getProtocol() const
{
return SimpleProtocol::NAME;
}
uint32_t
SimpleReply::getType() const
{
return SimpleProtocol::REPLY;
}
} // namespace mbus
|