#pragma once #include class UpdateServerSession; class Handler_SA { public: Handler_SA(void); ~Handler_SA(void); public: static VOID OnHandler_MSG_SA_SERVER_AUTH_ACK( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SERVER_EXECUTE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SERVER_TYPE_ACK( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SERVER_FORCE_DISCONNECT_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SERVER_BACKUP_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SERVER_RESTORE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); // Notcie static VOID OnHandler_MSG_SA_SERVER_NOTICE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SERVER_SEND_NOTICE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_CHECK_LOGFILE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_PATCH_EXECUTE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); ////////////////////////////////////////////////////////////////////////// #ifdef __20080312__SOLARAUTH_SERVER_PATCH static VOID OnHandler_MSG_SA_SOLARSCRIPT_BACKUP_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SOLARSCRIPT_RESTORE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); static VOID OnHandler_MSG_SA_SOLARSCRIPT_EXECUTE_SYN( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); #endif ////////////////////////////////////////////////////////////////////////// #ifdef _NA_006543_20130318_HEARTBEAT static VOID OnHandler_MSG_SA_CHECK_HEARTBEAT_ACK( UpdateServerSession* pSession, MSG_BASE* pMsg, int nSize ); #endif #ifdef _NA_006662_20130423_SVNPATCH private: static VOID _ProcessPatchUsingUpdateTool(UpdateServerSession *pSession, MSG_BASE *pMsg, int nSize); static VOID _ProcessPatchUsingBatchFile(UpdateServerSession *pSession, MSG_BASE *pMsg, int nSize); #endif //_NA_006662_20130423_SVNPATCH };