Revision: 40749
http://brlcad.svn.sourceforge.net/brlcad/?rev=40749&view=rev
Author: davidloman
Date: 2010-09-28 18:21:45 +0000 (Tue, 28 Sep 2010)
Log Message:
-----------
Add KEEPALIVE msg type.
Modified Paths:
--------------
rt^3/trunk/include/NetMsgTypes.h
rt^3/trunk/src/libNet/NetMsgFactory.cxx
Modified: rt^3/trunk/include/NetMsgTypes.h
===================================================================
--- rt^3/trunk/include/NetMsgTypes.h 2010-09-28 18:14:52 UTC (rev 40748)
+++ rt^3/trunk/include/NetMsgTypes.h 2010-09-28 18:21:45 UTC (rev 40749)
@@ -34,6 +34,8 @@
#define TEST_GENERIC_MULTIBYTE_MSG 0x0023
#define TEST_GENERIC_1STRING_MSG 0x0024
+#define KEEPALIVE 0x0042
+
#define FAILURE 0x0050
#define SUCCESS 0x0051
Modified: rt^3/trunk/src/libNet/NetMsgFactory.cxx
===================================================================
--- rt^3/trunk/src/libNet/NetMsgFactory.cxx 2010-09-28 18:14:52 UTC (rev
40748)
+++ rt^3/trunk/src/libNet/NetMsgFactory.cxx 2010-09-28 18:21:45 UTC (rev
40749)
@@ -103,6 +103,9 @@
case TEST_GENERIC_1STRING_MSG:
return new GenericOneStringMsg(qds, origin);
+ case KEEPALIVE:
+ return new GenericOneByteMsg(qds, origin);
+
case FAILURE:
return new GenericOneByteMsg(qds, origin);
case SUCCESS:
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits