SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AuthFSM.h
Go to the documentation of this file.
1 /*
2  * SEGS - Super Entity Game Server
3  * http://www.segs.io/
4  * Copyright (c) 2006 - 2018 SEGS Team (see Authors.txt)
5  * This software is licensed! (See License.txt for details)
6  */
7 
8 #pragma once
9 
10 class AuthPacket;
11 class AuthConnection;
12 class AuthObserver;
14 {
15  AuthObserver *m_observer;
16  public:
17  AuthFSM_Client() {m_observer=0;}
18  AuthPacket *ReceivedPacket(AuthConnection *caller,AuthPacket *pkt);
19  AuthPacket *ConnectionEstablished(AuthConnection *conn);
20  //static void SendError(AuthConnection *conn,int err);
21  void ConnectionClosed(AuthConnection *conn);
22  void set_observer(AuthObserver *ob);
24 };
AuthObserver * get_observer()
Definition: AuthFSM.cpp:45
void ConnectionClosed(AuthConnection *conn)
Definition: AuthFSM.cpp:23
AuthPacket * ConnectionEstablished(AuthConnection *conn)
Definition: AuthFSM.cpp:17
AuthFSM_Client()
Definition: AuthFSM.h:17
void set_observer(AuthObserver *ob)
Definition: AuthFSM.cpp:40
Definition: AuthFSM.h:13
AuthPacket * ReceivedPacket(AuthConnection *caller, AuthPacket *pkt)
Definition: AuthFSM.cpp:28
Definition: Auth.h:66