summaryrefslogtreecommitdiff
path: root/orkbasecxx/messages
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2007-02-28 16:53:09 +0000
committerHenri Herscher <henri@oreka.org>2007-02-28 16:53:09 +0000
commit4a90ec83bc7de4103220f1d4e8663dc41a08f443 (patch)
tree2529145a08ae8ddace7b692140c75f3b56aab569 /orkbasecxx/messages
parent9c4ec3f8680a2ee0d430356906d386cdb94b86b7 (diff)
Added constructor to TcpPingMsg for default values.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@420 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/messages')
-rw-r--r--orkbasecxx/messages/PingMsg.cpp6
-rw-r--r--orkbasecxx/messages/PingMsg.h2
2 files changed, 8 insertions, 0 deletions
diff --git a/orkbasecxx/messages/PingMsg.cpp b/orkbasecxx/messages/PingMsg.cpp
index e75beb8..7ddaf0d 100644
--- a/orkbasecxx/messages/PingMsg.cpp
+++ b/orkbasecxx/messages/PingMsg.cpp
@@ -64,6 +64,12 @@ ObjectRef PingMsg::Process()
//===============================
#define TCP_PING_CLASS "tcpping"
+TcpPingMsg::TcpPingMsg()
+{
+ m_port = 0;
+}
+
+
void TcpPingMsg::Define(Serializer* s)
{
CStdString tcpPingClass(TCP_PING_CLASS);
diff --git a/orkbasecxx/messages/PingMsg.h b/orkbasecxx/messages/PingMsg.h
index 71ab240..646c88e 100644
--- a/orkbasecxx/messages/PingMsg.h
+++ b/orkbasecxx/messages/PingMsg.h
@@ -45,6 +45,8 @@ public:
class DLL_IMPORT_EXPORT_ORKBASE TcpPingMsg : public SyncMessage
{
public:
+ TcpPingMsg();
+
void Define(Serializer* s);
inline void Validate() {};