blob: 6338b05cd3ec5a91b4177f3b97842405c37f08d1 [file] [log] [blame]
Ratan Gupta309ac442016-12-13 20:40:06 +05301#include "slp.hpp"
2
3slp::Message::Message(const slp::Message& rhs)
4{
5 *this = rhs;
6}
7
8slp::Message& slp::Message::operator=(const slp::Message& rhs)
9{
10
11 if (this != &rhs)
12 {
13 header = rhs.header;
14 body = rhs.body;
15 }
16}
17
18
19slp::Payload::Payload(const slp::Payload& rhs)
20{
21 *this = rhs;
22}
23
24slp::Payload& slp::Payload::operator=(const slp::Payload& rhs)
25{
26 if (this != &rhs)
27 {
28 this->srvtyperqst = rhs.srvtyperqst ;
29 this->srvrqst = rhs.srvrqst;
30 }
31}