2 * Author : Boris Mikhailenko <stg34@stargazer.dp.ua>
29 Header(const Header&) = default;
30 Header& operator=(const Header&) = default;
31 Header(Header&&) = default;
32 Header& operator=(Header&&) = default;
37 unsigned lastSendTime;
38 unsigned creationTime;
41 unsigned repeatPeriod;
46 Message(const Message&) = default;
47 Message& operator=(const Message&) = default;
48 Message(Message&&) = default;
49 Message& operator=(Message&&) = default;
51 time_t GetNextSendTime() const
53 return header.lastSendTime + header.repeat * 60;