MONITOR without ZEROMQ
[u/mrichter/AliRoot.git] / MONITOR / MONITORzmq / AliStorageClientThread.h
CommitLineData
5eb34a26 1#ifndef AliStorageClientThread_H
2#define AliStorageClientThread_H
3
186c4b6e 4#include "AliStorageTypes.h"
5
6#include "AliDIMListenerThread.h"
7#include "AliEventsCollectorThread.h"
8#include "AliCommunicationThread.h"
5eb34a26 9
10#include <string>
11
186c4b6e 12class AliCommunicationThread;
13class AliEventsCollectorThread;
5eb34a26 14
15class AliStorageClientThread
16{
186c4b6e 17 friend class AliEventsCollectorThread;
18 friend class AliCommunicationThread;
19
5eb34a26 20public:
21 AliStorageClientThread();
22 ~AliStorageClientThread();
5eb34a26 23private:
186c4b6e 24 AliDIMListenerThread *fDIMListenerThread;
25 AliEventsCollectorThread *fEventsCollectorThread;
26 AliCommunicationThread *fCommunicationThread;
27
5eb34a26 28 AliStorageClientThread(const AliStorageClientThread&);
29 AliStorageClientThread& operator=(const AliStorageClientThread&);
186c4b6e 30
31protected:
32 // status flags
33 Int_t fConnectionStatus;
34 Int_t fReceivingStatus;
35 Int_t fSavingStatus;
36
37 // storage parameters
38 int fCurrentStorageSize;
39 int fMaximumStorageSize;
40 std::string fStoragePath;
41 int fNumberOfEventsInFile;
42 int fStorageOccupationLevel;
43 int fRemoveEventsPercentage;
5eb34a26 44};
45
186c4b6e 46#endif