RDFS
The Rice Comp413 2017 class' continuation on the work of the 2016 RDFS.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
ha_service_translator::HaServiceTranslator Class Reference

#include <HaServiceProtocolImpl.h>

Public Member Functions

 HaServiceTranslator (RPCServer *server_arg, zkclient::ZkNnClient *zk_arg, int port_arg)
 
std::string transitionToActive (std::string)
 
std::string transitionToStandby (std::string)
 
std::string getServiceStatus (std::string)
 
std::string monitorHealth (std::string input)
 

Detailed Description

The translator receives the rpc parameters from rpcserver. It then processes the message and does whatever is necessary, returing a serializes protobuff.

It communicates with zookeeper to construct the namespace and communicate with datanode


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