Files
mir_server/server/SessionServer/PerformanceWatcher.h
aixianling 5c9f1dae4a init
2025-01-09 17:45:40 +08:00

45 lines
875 B
C++

#pragma once
/*
class CSSManager;
class CPerformanceWnd;
class CServerConnectionWnd;
class CPerformanceWatcher
: public wylib::thread::CBaseThread
{
public:
typedef CBaseThread Inherited;
struct ServerConnetionInfo
{
CHAR sSrvName[64];
SOCKADDR_IN s_Addr;
TICKCOUNT dwConnectTick;
};
typedef CBaseList<ServerConnetionInfo> CServerConnectionList;
private:
CSSManager *m_pSSManager;
CPerformanceWnd *m_pPerformanceWnd;
CServerConnectionWnd *m_pServerConnectionWnd;
protected:
void OnRountine();
private:
void ShowPerformance();
void ShowServerConnections();
static UINT STDCALL EnumServerConnectionCallBack(CServerConnectionList *, CSessionClient *);
public:
CPerformanceWatcher(CSSManager *lpSSManager);
~CPerformanceWatcher(void);
VOID ShowPerformanceWindow(const BOOL boShow);
VOID ShowServerConnectionWindow(const BOOL boShow);
};
*/