14 #ifndef TSSERVERCLIENTMGR_H_
15 #define TSSERVERCLIENTMGR_H_
33 bool AnyClientChanged() {
return fAnyClientChanged;}
34 bool AnyServerChanged() {
return fAnyServerChanged;}
36 bool BroadcastActive() {
return kBroadcastIsActive;}
37 void BroadcastToClients(
int);
38 void BroadcastToServers(
int);
41 int GetClientStatus(
int)
const;
43 int GetServerStatus(
int)
const;
44 int GetNumOfClients()
const {
return fNumOfClients;}
45 int GetNumOfServers()
const {
return fNumOfServers;}
46 int GetNumOfClientsChanged()
const {
return fNumOfClientsChanged;}
47 int GetNumOfServersChanged()
const {
return fNumOfServersChanged;}
49 TString GetOwnerName()
const {
return fOwnerName;}
50 TString GetStatusName(
int)
const;
52 void PrintServersAndClients();
66 static bool kBroadcastIsActive;
75 bool fAnyClientChanged;
76 bool fAnyServerChanged;
77 int fNumOfClientsChanged;
78 int fNumOfServersChanged;
82 std::map<int,ServerClientMgr*> fServers;
83 std::map<int,ServerClientMgr*> fClients;
84 std::map<int,int> fClientsStatus;
85 std::map<int,int> fServersStatus;
87 void fResetCounters();
Definition: ServerClientMgr.h:22