]> git.uio.no Git - u/mrichter/AliRoot.git/blame - STORAGE/AliStorageTypes.h
STORAGE module added, new macro for Event Display, minor changes in MONITOR
[u/mrichter/AliRoot.git] / STORAGE / AliStorageTypes.h
CommitLineData
5eb34a26 1#ifndef AliStorageTypes_H
2#define AliStorageTypes_H
3
4//sockets
5const int gServerCommunicationPort = 5066;
6const int gEventsSubscriberPort = 5024;
7const int gClientCommunicationPort = 5088;
8const int gClientPublisherPort = 5077;
9
10enum statusType{
11 STATUS_WAITING=1,
12 STATUS_OK,
13 STATUS_ERROR,
14 STATUS_DOWN
15};
16
17enum requestType{
18 REQUEST_CONNECTION=1,
19 REQUEST_RECEIVING,
20 REQUEST_SAVING,
21 REQUEST_CURRENT_SIZE,
22 REQUEST_LIST_EVENTS,
23 REQUEST_GET_EVENT,
24 REQUEST_GET_NEXT_EVENT,
25 REQUEST_GET_LAST_EVENT,
26 REQUEST_MARK_EVENT,
27 REQUEST_SET_PARAMS,
28 REQUEST_GET_PARAMS
29};
30
31struct clientRequestStruct{
32 int messageType;
33 int maxStorageSize;
34 int maxOccupation;
35 int removeEvents;
36 int eventsInChunk;
37};
38
39struct eventStruct{
40 int runNumber;
41 int eventNumber;
42};
43
44struct listRequestStruct{
45 int runNumber[2];
46 int eventNumber[2];
47 int marked[2];
48 int multiplicity[2];
49 char system[2][20];
50};
51
52struct serverRequestStruct{
53 int messageType;
54 struct eventStruct event;
55 struct listRequestStruct list;
56};
57
58typedef struct serverListStruct{
59 int runNumber;
60 int eventNumber;
61 char system[20];
62 int multiplicity;
63 int marked;
64}serverListStruct;
65
66#endif