Molybden API
Loading...
Searching...
No Matches
callback.hpp
1
// Copyright (c) 2000-2023 TeamDev Ltd. All rights reserved.
2
// TeamDev PROPRIETARY and CONFIDENTIAL.
3
// Use is subject to license terms.
4
5
#ifndef MOLYBDEN_RPC_CALLBACK_HPP
6
#define MOLYBDEN_RPC_CALLBACK_HPP
7
8
namespace
google {
9
namespace
protobuf {
10
class
Message;
11
}
12
}
// namespace google
13
14
namespace
rpc {
15
namespace
internal {
16
17
class
Callback {
18
public
:
19
virtual
~Callback() =
default
;
20
21
virtual
void
send(google::protobuf::Message* message) = 0;
22
23
virtual
void
fail() = 0;
24
};
25
}
// namespace internal
26
}
// namespace rpc
27
#endif
// MOLYBDEN_RPC_CALLBACK_HPP
include
molybden
base
internal
callback.hpp