MosesServer::Server Class Reference

#include <Server.h>

Collaboration diagram for MosesServer::Server:

Collaboration graph

List of all members.

Public Member Functions

 Server (Moses::Parameter &params)
 ~Server ()
int run ()
void delete_session (uint64_t const session_id)
Moses::ServerOptions const & options () const
Session const & get_session (uint64_t session_id)

Detailed Description

Definition at line 23 of file Server.h.

Constructor & Destructor Documentation

MosesServer::Server::Server ( Moses::Parameter params  ) 

Definition at line 8 of file Server.cpp.

MosesServer::Server::~Server (  ) 

Definition at line 22 of file Server.cpp.

Member Function Documentation

void MosesServer::Server::delete_session ( uint64_t const   session_id  ) 

Definition at line 78 of file Server.cpp.

References MosesServer::SessionCache::erase().

Referenced by MosesServer::CloseSession::execute().

Here is the call graph for this function:

Here is the caller graph for this function:

Session const & MosesServer::Server::get_session ( uint64_t  session_id  ) 

Definition at line 71 of file Server.cpp.

Referenced by MosesServer::Translator::get_session().

Here is the caller graph for this function:

Moses::ServerOptions const & MosesServer::Server::options (  )  const

Definition at line 64 of file Server.cpp.

int MosesServer::Server::run (  ) 

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

Generated on Thu Jul 6 00:34:05 2017 for Moses by  doxygen 1.5.9