zookeeper-cpp
ZooKeeper Client for C++
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Groups
zk::server::server Class Referencefinal

Controls a ZooKeeper server process on this local machine. More...

#include <zk/server/server.hpp>

Public Member Functions

 server (std::string classpath)
 
void shutdown (bool wait_for_stop=false)
 

Static Public Member Functions

static std::shared_ptr< servercreate (package_registry &registry)
 Create a running server process with the best (newest) version from the provided registry. More...
 

Detailed Description

Controls a ZooKeeper server process on this local machine.

Definition at line 20 of file server.hpp.

Constructor & Destructor Documentation

zk::server::server::server ( std::string  classpath)
explicit
Warning
See create for why this shouldn't be used.

Member Function Documentation

static std::shared_ptr<server> zk::server::server::create ( package_registry registry)
static

Create a running server process with the best (newest) version from the provided registry.

Warning
This interface, while convenient, is probably totally broken. Expect it to be deprecated in the not-too-distant future.

The documentation for this class was generated from the following file: