-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathReceivingClient.h
More file actions
65 lines (48 loc) · 1.29 KB
/
ReceivingClient.h
File metadata and controls
65 lines (48 loc) · 1.29 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
/*
* File: ReceivingClient.h
* Author: opiske
*
* Created on October 19, 2015, 4:25 PM
*/
#ifndef RECEIVINGCLIENT_H
#define RECEIVINGCLIENT_H
#include <sstream>
#include <string>
#include <proton/message.hpp>
#include <proton/container.hpp>
#include <proton/uuid.hpp>
#include "ModernClient.h"
#include "handler/ReceiverHandler.h"
#include "options/modern/ReceiverOptionsParser.h"
#include "options/OptionsHelper.h"
#include "TypeUtils.h"
#include "UriParser.h"
using proton::message;
using proton::uuid;
namespace dtests {
namespace proton {
namespace reactor {
using dtests::proton::common::ModernClient;
using namespace dtests::common;
/**
* Implements a receiving client using the proton reactive API
*/
class ReceivingClient : public ModernClient {
public:
ReceivingClient();
virtual ~ReceivingClient();
virtual int run(int argc, char **argv) const;
private:
typedef ModernClient super;
protected:
void setMessageOptions(const OptionsSetter &setter, message &msg) const;
};
} /* namespace reactor */
} /* namespace proton */
} /* namespace dtests */
#endif /* RECEIVINGCLIENT_H */