SLP Server
This contains the entry point for the SLP
and starts the SLP Server.
Change-Id: I5976c8168a1af2703143c9bead61583197949115
Signed-off-by: Ratan Gupta <ratagupt@in.ibm.com>
diff --git a/slp.cpp b/slp.cpp
new file mode 100644
index 0000000..6338b05
--- /dev/null
+++ b/slp.cpp
@@ -0,0 +1,31 @@
+#include "slp.hpp"
+
+slp::Message::Message(const slp::Message& rhs)
+{
+ *this = rhs;
+}
+
+slp::Message& slp::Message::operator=(const slp::Message& rhs)
+{
+
+ if (this != &rhs)
+ {
+ header = rhs.header;
+ body = rhs.body;
+ }
+}
+
+
+slp::Payload::Payload(const slp::Payload& rhs)
+{
+ *this = rhs;
+}
+
+slp::Payload& slp::Payload::operator=(const slp::Payload& rhs)
+{
+ if (this != &rhs)
+ {
+ this->srvtyperqst = rhs.srvtyperqst ;
+ this->srvrqst = rhs.srvrqst;
+ }
+}