*/
-#ifndef M_SPANNINGTREE_TREESERVER_H
-#define M_SPANNINGTREE_TREESERVER_H
+#pragma once
#include "treesocket.h"
/** Get server description (GECOS)
*/
- std::string GetDesc();
+ const std::string& GetDesc();
/** Get server version string
*/
- std::string GetVersion();
+ const std::string& GetVersion();
/** Set time we are next due to ping this server
*/
/** Get server ID
*/
- std::string& GetID();
+ const std::string& GetID();
/** Marks a server as having finished bursting and performs appropriate actions.
*/
*/
~TreeServer();
};
-
-#endif