LogCabin
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
LogCabin::Server::ControlService Class Reference

Invoked by logcabinctl client to inspect and manipulate internal server state. More...

#include <ControlService.h>

Inheritance diagram for LogCabin::Server::ControlService:
LogCabin::RPC::Service

List of all members.

Public Member Functions

 ControlService (Globals &globals)
 Constructor.
 ~ControlService ()
 Destructor.
void handleRPC (RPC::ServerRPC rpc)
 This method is overridden by a subclass and invoked by the Server class when a new RPC arrives.
std::string getName () const
 Return a short name for this service which can be used in things like log messages.
 ControlService (const ControlService &)
ControlServiceoperator= (const ControlService &)

Private Member Functions

void debugFilenameGet (RPC::ServerRPC rpc)
void debugFilenameSet (RPC::ServerRPC rpc)
void debugPolicyGet (RPC::ServerRPC rpc)
void debugPolicySet (RPC::ServerRPC rpc)
void debugRotate (RPC::ServerRPC rpc)
void serverInfoGet (RPC::ServerRPC rpc)
void serverStatsDump (RPC::ServerRPC rpc)
void serverStatsGet (RPC::ServerRPC rpc)
void snapshotControl (RPC::ServerRPC rpc)
void snapshotInhibitGet (RPC::ServerRPC rpc)
void snapshotInhibitSet (RPC::ServerRPC rpc)

Private Attributes

Globalsglobals
 The LogCabin daemon's top-level objects.

Detailed Description

Invoked by logcabinctl client to inspect and manipulate internal server state.

Definition at line 40 of file ControlService.h.


Constructor & Destructor Documentation

Constructor.

Definition at line 29 of file ControlService.cc.

Destructor.

Definition at line 34 of file ControlService.cc.


Member Function Documentation

This method is overridden by a subclass and invoked by the Server class when a new RPC arrives.

It should call ServerRPC::reply() or another method on the RPC to handle the request. The Server class calls this on a thread pool.

Implements LogCabin::RPC::Service.

Definition at line 39 of file ControlService.cc.

std::string LogCabin::Server::ControlService::getName ( ) const [virtual]

Return a short name for this service which can be used in things like log messages.

Implements LogCabin::RPC::Service.

Definition at line 86 of file ControlService.cc.

Definition at line 105 of file ControlService.cc.

Definition at line 113 of file ControlService.cc.

Definition at line 133 of file ControlService.cc.

Definition at line 143 of file ControlService.cc.

Definition at line 155 of file ControlService.cc.

Definition at line 171 of file ControlService.cc.

Definition at line 181 of file ControlService.cc.

Definition at line 190 of file ControlService.cc.

Definition at line 198 of file ControlService.cc.

Definition at line 221 of file ControlService.cc.

Definition at line 231 of file ControlService.cc.

ControlService& LogCabin::Server::ControlService::operator= ( const ControlService )

Member Data Documentation

The LogCabin daemon's top-level objects.

Definition at line 70 of file ControlService.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines