24
24
#include " email/service_client.hpp"
25
25
#include " email/service_request.hpp"
26
26
#include " email/service_server.hpp"
27
- #include " email/subscriber .hpp"
27
+ #include " email/subscription .hpp"
28
28
#include " email/visibility_control.hpp"
29
29
30
30
namespace email
@@ -42,17 +42,17 @@ namespace email
42
42
EMAIL_PUBLIC
43
43
std::pair<std::string, MessageInfo>
44
44
wait_for_message_with_info (
45
- Subscriber * subscription,
45
+ Subscription * subscription,
46
46
const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1 ));
47
47
48
48
// / Get a message with info from a subscription, waiting until one is available.
49
49
/* *
50
- * \see wait_for_message(std::shared_ptr<Subscriber >, const std::chrono::milliseconds)
50
+ * \see wait_for_message(std::shared_ptr<Subscription >, const std::chrono::milliseconds)
51
51
*/
52
52
EMAIL_PUBLIC
53
53
std::pair<std::string, MessageInfo>
54
54
wait_for_message_with_info (
55
- std::shared_ptr<Subscriber > subscription,
55
+ std::shared_ptr<Subscription > subscription,
56
56
const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1 ));
57
57
58
58
// / Get a message from a subscription, waiting until one is available.
@@ -67,17 +67,17 @@ wait_for_message_with_info(
67
67
EMAIL_PUBLIC
68
68
std::string
69
69
wait_for_message (
70
- Subscriber * subscription,
70
+ Subscription * subscription,
71
71
const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1 ));
72
72
73
73
// / Get a message from a subscription, waiting until one is available.
74
74
/* *
75
- * \see wait_for_message(std::shared_ptr<Subscriber >, const std::chrono::milliseconds)
75
+ * \see wait_for_message(std::shared_ptr<Subscription >, const std::chrono::milliseconds)
76
76
*/
77
77
EMAIL_PUBLIC
78
78
std::string
79
79
wait_for_message (
80
- std::shared_ptr<Subscriber > subscription,
80
+ std::shared_ptr<Subscription > subscription,
81
81
const std::chrono::milliseconds timeout = std::chrono::milliseconds(-1 ));
82
82
83
83
// / Get a service reponse with info, waiting until it is available.
0 commit comments