Fork Vasum on GitHub Official Vasum Wiki on Tizen.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
send-result-request.hpp
Go to the documentation of this file.
1 /*
2 * Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
3 *
4 * Contact: Jan Olszak <j.olszak@samsung.com>
5 *
6 * Licensed under the Apache License, Version 2.0 (the "License");
7 * you may not use this file except in compliance with the License.
8 * You may obtain a copy of the License at
9 *
10 * http://www.apache.org/licenses/LICENSE-2.0
11 *
12 * Unless required by applicable law or agreed to in writing, software
13 * distributed under the License is distributed on an "AS IS" BASIS,
14 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 * See the License for the specific language governing permissions and
16 * limitations under the License
17 */
18 
25 #ifndef CARGO_IPC_INTERNALS_SEND_RESULT_REQUEST_HPP
26 #define CARGO_IPC_INTERNALS_SEND_RESULT_REQUEST_HPP
27 
28 #include "cargo-ipc/types.hpp"
29 #include "logger/logger-scope.hpp"
30 
31 namespace cargo {
32 namespace ipc {
33 
35 public:
36  SendResultRequest(const SendResultRequest&) = delete;
38 
40  const PeerID& peerID,
41  const MessageID& messageID,
42  const std::shared_ptr<void>& data)
43  : methodID(methodID),
44  peerID(peerID),
45  messageID(messageID),
46  data(data)
47  {}
48 
52  std::shared_ptr<void> data;
53 };
54 
55 } // namespace ipc
56 } // namespace cargo
57 
58 #endif // CARGO_IPC_INTERNALS_SEND_RESULT_REQUEST_HPP
PeerID peerID
Definition: send-result-request.hpp:50
std::string PeerID
Definition: types.hpp:45
SendResultRequest(const SendResultRequest &)=delete
Types definitions.
SendResultRequest(const MethodID methodID, const PeerID &peerID, const MessageID &messageID, const std::shared_ptr< void > &data)
Definition: send-result-request.hpp:39
MessageID messageID
Definition: send-result-request.hpp:51
std::shared_ptr< void > data
Definition: send-result-request.hpp:52
SendResultRequest & operator=(const SendResultRequest &)=delete
unsigned int MethodID
Definition: types.hpp:43
Definition: send-result-request.hpp:34
MethodID methodID
Definition: send-result-request.hpp:49
std::string MessageID
Definition: types.hpp:44
Scope logger class declaration.