Moses::ServerOptions Struct Reference

#include <ServerOptions.h>

List of all members.

Public Member Functions

bool init (Parameter const &param)
 ServerOptions (Parameter const &param)
 ServerOptions ()

Public Attributes

bool is_serial
uint32_t numThreads
size_t sessionTimeout
size_t sessionCacheSize
int port
std::string logfile
int maxConn
int maxConnBacklog
int keepaliveTimeout
int keepaliveMaxConn
int timeout


Detailed Description

Definition at line 8 of file ServerOptions.h.


Constructor & Destructor Documentation

Moses::ServerOptions::ServerOptions ( Parameter const &  param  ) 

Definition at line 52 of file ServerOptions.cpp.

References init().

Here is the call graph for this function:

Moses::ServerOptions::ServerOptions (  ) 

Definition at line 38 of file ServerOptions.cpp.


Member Function Documentation

bool Moses::ServerOptions::init ( Parameter const &  param  ) 

Definition at line 59 of file ServerOptions.cpp.

References is_serial, keepaliveMaxConn, keepaliveTimeout, logfile, maxConn, maxConnBacklog, numThreads, Moses::parse_timespec(), port, sessionCacheSize, sessionTimeout, Moses::Parameter::SetParameter(), and timeout.

Referenced by ServerOptions().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 11 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 22 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 21 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 18 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 19 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 20 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 12 of file ServerOptions.h.

Referenced by init().

Definition at line 17 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().

Definition at line 15 of file ServerOptions.h.

Referenced by init().

Definition at line 14 of file ServerOptions.h.

Referenced by init().

Definition at line 23 of file ServerOptions.h.

Referenced by init(), and MosesServer::Server::run().


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

Generated on Thu Jul 6 00:33:27 2017 for Moses by  doxygen 1.5.9