[Orxonox-commit 3365] r8053 - code/branches/masterserver2/src/libraries/network
smerkli at orxonox.net
smerkli at orxonox.net
Thu Mar 10 16:09:56 CET 2011
Author: smerkli
Date: 2011-03-10 16:09:56 +0100 (Thu, 10 Mar 2011)
New Revision: 8053
Modified:
code/branches/masterserver2/src/libraries/network/WANDiscoverable.cc
Log:
Did not actually do any work, just looked through some of the code.
Modified: code/branches/masterserver2/src/libraries/network/WANDiscoverable.cc
===================================================================
--- code/branches/masterserver2/src/libraries/network/WANDiscoverable.cc 2011-03-09 10:29:08 UTC (rev 8052)
+++ code/branches/masterserver2/src/libraries/network/WANDiscoverable.cc 2011-03-10 15:09:56 UTC (rev 8053)
@@ -53,6 +53,7 @@
}
+ /* read the master server address from config file */
void WANDiscoverable::setConfigValues()
{
/* update msaddress string from orxonox.ini config file, if it
@@ -62,12 +63,16 @@
// SetConfigValue( msaddress, "orxonox.net");
}
+ /* destructor */
WANDiscoverable::~WANDiscoverable()
{
if( this->bActive_ )
this->disconnect();
}
+ /* set the activity of the discoverable object:
+ * active or not active
+ */
void WANDiscoverable::setActivity(bool bActive)
{
if( bActive==this->bActive_ )
More information about the Orxonox-commit
mailing list