zookeeper-cpp
ZooKeeper Client for C++
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.

Definition at line 12 of file server.cpp.

Member Function Documentation

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.

Definition at line 22 of file server.cpp.


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