Server Class Reference

#include <Server.h>

List of all members.

Public Member Functions

 Server ()
 Public constructor.
virtual ~Server ()
 Virtual destructor.
common::ErrorCodeType Run (int serverPort, const std::string &databaseHost, const std::string &databaseName, const std::string &databasePass)
 Runs server.

Detailed Description

Server class.
Full Description
This class implements the server.

Constructor & Destructor Documentation

Server (  ) 

Public constructor.

Full Description
This method creates a new instance of the class.
New instance of the class.

~Server (  )  [virtual]

Virtual destructor.

Full Description
This method destroys an existing instance of the class.

Member Function Documentation

common::ErrorCodeType Run ( int  serverPort,
const std::string &  databaseHost,
const std::string &  databaseName,
const std::string &  databasePass 

Runs server.

Full Description
This method runs the server.
Success if successful.

Failure otherwise.

serverPort  Server port.
databaseHost  Database host name.
databaseName  Database user name.
databasePass  Database password.

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