SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
AuthServer Class Reference

main class of the authentication server, it controls the AuthHandler instances More...

#include <AuthServer.h>

Inheritance diagram for AuthServer:
Inheritance graph
Collaboration diagram for AuthServer:
Collaboration graph

Public Member Functions

 AuthServer ()
 
 ~AuthServer ()
 
bool ShutDown ()
 Shuts the server down. More...
 
bool ReadConfigAndRestart ()
 Read server configuration. More...
 
- Public Member Functions inherited from EventProcessor
int open (void *args=nullptr)
 
int handle_timeout (const ACE_Time_Value &current_time, const void *act)
 
virtual bool per_thread_setup ()
 

Protected Member Functions

bool Run ()
 Starts this server up, by opening the connection acceptor on given location. This method can be called multiple times, to re-open the listening socket on different addresses. More...
 
void dispatch (SEGSEvent *ev)
 

Protected Attributes

ClientAcceptorm_acceptor
 ace acceptor wrapping AuthClientService More...
 
ACE_INET_Addr m_location
 address this server will bind at. More...
 
bool m_running
 true if this server is running More...
 
ACE_Thread_Mutex m_mutex
 used to prevent multiple threads accessing config reload function More...
 
std::unique_ptr< AuthHandlerm_handler
 holds the AuthHandler More...
 

Detailed Description

main class of the authentication server, it controls the AuthHandler instances

Member Data Documentation

ClientAcceptor* AuthServer::m_acceptor
protected

ace acceptor wrapping AuthClientService

std::unique_ptr<AuthHandler> AuthServer::m_handler
protected

holds the AuthHandler

ACE_INET_Addr AuthServer::m_location
protected

address this server will bind at.

ACE_Thread_Mutex AuthServer::m_mutex
protected

used to prevent multiple threads accessing config reload function

bool AuthServer::m_running
protected

true if this server is running


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