equal
deleted
inserted
replaced
19 #include <vector> |
19 #include <vector> |
20 #include <iostream> |
20 #include <iostream> |
21 |
21 |
22 #include <relpipe/common/type/typedefs.h> |
22 #include <relpipe/common/type/typedefs.h> |
23 |
23 |
|
24 #include "Socket.h" |
24 |
25 |
25 namespace relpipe { |
26 namespace relpipe { |
26 namespace in { |
27 namespace in { |
27 namespace socket { |
28 namespace socket { |
28 |
29 |
29 class Configuration { |
30 class Configuration { |
30 public: |
31 public: |
31 |
32 |
|
33 class SocketOption { |
|
34 public: |
|
35 const relpipe::common::type::StringX name; |
|
36 const relpipe::common::type::StringX value; |
|
37 |
|
38 SocketOption(const relpipe::common::type::StringX name, const relpipe::common::type::StringX value) : name(name), value(value) { |
|
39 } |
|
40 |
|
41 virtual ~SocketOption() = default; |
|
42 }; |
|
43 |
32 relpipe::common::type::Integer messageCount = 1; |
44 relpipe::common::type::Integer messageCount = 1; |
33 relpipe::common::type::StringX relation = L"message"; |
45 relpipe::common::type::StringX relation = L"message"; |
34 relpipe::common::type::StringX queue = L"/relpipe"; |
46 std::vector<SocketOption> options; |
35 relpipe::common::type::Boolean unlinkOnClose = false; |
|
36 |
47 |
37 virtual ~Configuration() { |
48 virtual ~Configuration() { |
38 } |
49 } |
39 }; |
50 }; |
40 |
51 |