parent
c34a9422f7
commit
4c4475f3b5
@ -100,6 +100,16 @@ void cAuthenticator::Authenticate(int a_ClientID, const AString & a_UserName, co
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
void cAuthenticator::Start(void)
|
||||||
|
{
|
||||||
|
m_ShouldTerminate = false;
|
||||||
|
super::Start();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
void cAuthenticator::Stop(void)
|
void cAuthenticator::Stop(void)
|
||||||
{
|
{
|
||||||
m_ShouldTerminate = true;
|
m_ShouldTerminate = true;
|
||||||
|
@ -42,7 +42,10 @@ public:
|
|||||||
/// Queues a request for authenticating a user. If the auth fails, the user is kicked
|
/// Queues a request for authenticating a user. If the auth fails, the user is kicked
|
||||||
void Authenticate(int a_ClientID, const AString & a_UserName, const AString & a_ServerHash);
|
void Authenticate(int a_ClientID, const AString & a_UserName, const AString & a_ServerHash);
|
||||||
|
|
||||||
// Stops the authenticator thread
|
/// Starts the authenticator thread. The thread may be started and stopped repeatedly
|
||||||
|
void Start(void);
|
||||||
|
|
||||||
|
/// Stops the authenticator thread. The thread may be started and stopped repeatedly
|
||||||
void Stop(void);
|
void Stop(void);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
Loading…
Reference in New Issue
Block a user