LogCabin
Classes | Namespaces | Defines | Functions
Client/ServerControl.cc File Reference
#include <cassert>
#include <getopt.h>
#include <iostream>
#include <string>
#include <vector>
#include "Client/ClientImpl.h"
#include "Core/ProtoBuf.h"
#include "build/Protocol/ServerControl.pb.h"
#include "include/LogCabin/Client.h"
#include "include/LogCabin/Debug.h"
#include "include/LogCabin/Util.h"

Go to the source code of this file.

Classes

class  LogCabin::Client::anonymous_namespace{ServerControl.cc}::OptionParser
 Parses argv for the main function. More...
class  LogCabin::Client::anonymous_namespace{ServerControl.cc}::ServerControl
 Wrapper for invoking ServerControl RPCs. More...

Namespaces

namespace  LogCabin
namespace  LogCabin::Client
namespace  LogCabin::Client::anonymous_namespace{ServerControl.cc}

Defines

#define DEFINE_RPC(type, opcode)

Functions

void LogCabin::Client::anonymous_namespace{ServerControl.cc}::error (const std::string &message)
 Print an error message and exit nonzero.
int main (int argc, char **argv)

Define Documentation

#define DEFINE_RPC (   type,
  opcode 
)

Definition at line 307 of file ServerControl.cc.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 354 of file ServerControl.cc.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines