blob: 2132f7ca464433a8a0bf153c2e4c65105b0a4dfc (
plain)
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
|
// Copyright (C) 2015-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.
#ifndef COMMONAPI_CALLINFO_HPP_
#define COMMONAPI_CALLINFO_HPP_
#include <CommonAPI/Config.hpp>
#include <CommonAPI/Types.hpp>
namespace CommonAPI {
struct COMMONAPI_EXPORT CallInfo {
CallInfo()
: timeout_(DEFAULT_SEND_TIMEOUT_MS), sender_(0) {
}
CallInfo(Timeout_t _timeout)
: timeout_(_timeout), sender_(0) {
}
CallInfo(Timeout_t _timeout, Sender_t _sender)
: timeout_(_timeout), sender_(_sender) {
}
Timeout_t timeout_;
Sender_t sender_;
};
} // namespace CommonAPI
#endif // COMMONAPI_ADDRESS_HPP_
|