Merge trunk.
[m6w6/libmemcached] / libtest / server.h
index c09469ecea160164f1076f62968e5a96b9bb1196..d987a0b7d3307e8e5ebde87b4014b022bc7d9104 100644 (file)
@@ -171,6 +171,7 @@ class server_startup_st
 {
 private:
   std::string server_list;
+  bool _socket;
 
 public:
 
@@ -178,6 +179,7 @@ public:
   std::vector<Server *> servers;
 
   server_startup_st() :
+    _socket(false),
     udp(0)
   { }
 
@@ -194,6 +196,17 @@ public:
   bool is_helgrind() const;
   bool is_valgrind() const;
 
+  bool socket()
+  {
+    return _socket;
+  }
+
+  void set_socket()
+  {
+    _socket= true;
+  }
+
+
   void shutdown(bool remove= false);
   void push_server(Server *);
   Server *pop_server();