Distributed Cache
Classes | Functions | Variables
mock_database.cpp File Reference
#include <boost/program_options.hpp>
#include <arpa/inet.h>
#include <fcntl.h>
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
#include <iostream>
#include <thread>
#include <unordered_map>
#include "headers/requests.h"
#include "headers/types.h"
#include "multithreaded_server/server_interface.h"
#include "multithreaded_server/server_thread_pool.h"
Include dependency graph for mock_database.cpp:

Classes

class  MockDatabase
 

Functions

void killServer (int ret=EXIT_SUCCESS)
 
void handle_my (int sig)
 
void initConfig (int ac, char *av[])
 
int main (int ac, char *av[])
 

Variables

po::variables_map config
 
MockDatabase db
 

Function Documentation

◆ handle_my()

void handle_my ( int  sig)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initConfig()

void initConfig ( int  ac,
char *  av[] 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ killServer()

void killServer ( int  ret = EXIT_SUCCESS)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int  ac,
char *  av[] 
)
Here is the call graph for this function:

Variable Documentation

◆ config

po::variables_map config

◆ db