Molybden API
Loading...
Searching...
No Matches
callback.hpp
1
// Copyright (c) 2000-2024 TeamDev. 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::internal {
15
16
class
Callback {
17
public
:
18
virtual
~Callback() =
default
;
19
20
virtual
void
send(google::protobuf::Message* message) = 0;
21
22
virtual
void
fail() = 0;
23
};
24
}
// namespace rpc::internal
25
#endif
// MOLYBDEN_RPC_CALLBACK_HPP
include
molybden
base
internal
callback.hpp