17#ifndef CYBER_TRANSPORT_MESSAGE_MESSAGE_INFO_H_
18#define CYBER_TRANSPORT_MESSAGE_MESSAGE_INFO_H_
55 uint64_t
seq_num()
const {
return seq_num_; }
68 uint64_t channel_id_ = 0;
69 uint64_t seq_num_ = 0;
const Identity & sender_id() const
void set_seq_num(uint64_t seq_num)
void set_channel_id(uint64_t channel_id)
bool operator!=(const MessageInfo &another) const
bool DeserializeFrom(const std::string &src)
void set_spare_id(const Identity &spare_id)
void set_send_time(uint64_t send_time)
static const std::size_t kSize
bool SerializeTo(std::string *dst) const
bool operator==(const MessageInfo &another) const
uint64_t send_time() const
const Identity & spare_id() const
uint64_t channel_id() const
MessageInfo & operator=(const MessageInfo &another)
void set_sender_id(const Identity &sender_id)