summaryrefslogtreecommitdiff
path: root/orkbasecxx/messages/PingMsg.h
diff options
context:
space:
mode:
authorHenri Herscher <henri@oreka.org>2007-02-07 19:49:16 +0000
committerHenri Herscher <henri@oreka.org>2007-02-07 19:49:16 +0000
commitb13c688b135bb2328d6aba83681bd0caeb1424f3 (patch)
treec938ed665bd47e771eb92a11da5c42796d3c2c63 /orkbasecxx/messages/PingMsg.h
parentbd40f20a3945b421f8b3cd3c8056da3a869daeac (diff)
Added tcpping command in order to test DNS/TCP/IP connectivity from orkaudio to another network location.
git-svn-id: https://oreka.svn.sourceforge.net/svnroot/oreka/trunk@402 09dcff7a-b715-0410-9601-b79a96267cd0
Diffstat (limited to 'orkbasecxx/messages/PingMsg.h')
-rw-r--r--orkbasecxx/messages/PingMsg.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/orkbasecxx/messages/PingMsg.h b/orkbasecxx/messages/PingMsg.h
index 52a46c4..71ab240 100644
--- a/orkbasecxx/messages/PingMsg.h
+++ b/orkbasecxx/messages/PingMsg.h
@@ -42,5 +42,19 @@ public:
ObjectRef Process();
};
+class DLL_IMPORT_EXPORT_ORKBASE TcpPingMsg : public SyncMessage
+{
+public:
+ void Define(Serializer* s);
+ inline void Validate() {};
+
+ CStdString GetClassName();
+ ObjectRef NewInstance();
+ ObjectRef Process();
+
+ CStdString m_hostname;
+ int m_port;
+};
+
#endif