Definition at line 32 of file message.h.
◆ message() [1/2]
hazelcast::client::topic::message::message |
( |
const std::string & | topic_name, |
|
|
typed_data && | msg, |
|
|
int64_t | publish_time, |
|
|
boost::optional< member > && | member ) |
|
inline |
Definition at line 35 of file message.h.
39 : message(topic_name,
40 std::move(msg),
41 std::chrono::system_clock::from_time_t(
42 std::chrono::duration_cast<std::chrono::seconds>(
43 std::chrono::milliseconds(publish_time))
44 .count()),
45 std::move(member))
46 {}
◆ message() [2/2]
hazelcast::client::topic::message::message |
( |
std::string | topic_name, |
|
|
typed_data && | msg, |
|
|
std::chrono::system_clock::time_point | publish_time, |
|
|
boost::optional< member > && | member ) |
|
inline |
Definition at line 48 of file message.h.
52 : message_object_(msg)
53 , publish_time_(publish_time)
54 , publishing_member_(member)
55 , name_(std::move(topic_name))
56 {}
◆ get_message_object()
const typed_data & hazelcast::client::topic::message::get_message_object |
( |
| ) |
const |
|
inline |
Definition at line 58 of file message.h.
58{ return message_object_; }
◆ get_name()
const std::string & hazelcast::client::topic::message::get_name |
( |
| ) |
const |
|
inline |
◆ get_publish_time()
std::chrono::system_clock::time_point hazelcast::client::topic::message::get_publish_time |
( |
| ) |
const |
|
inline |
Definition at line 60 of file message.h.
61 {
62 return publish_time_;
63 }
◆ get_publishing_member()
const member * hazelcast::client::topic::message::get_publishing_member |
( |
| ) |
const |
|
inline |
Definition at line 65 of file message.h.
66 {
67 return publishing_member_.get_ptr();
68 }
◆ get_source()
const std::string & hazelcast::client::topic::message::get_source |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file:
- hazelcast/include/hazelcast/client/topic/message.h