ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/DBSClient.hpp
Revision: 1.8
Committed: Thu Jan 19 22:56:32 2006 UTC (19 years, 3 months ago) by sekhri
Branch: MAIN
CVS Tags: BeforeJan2006SchemaChanges
Changes since 1.7: +14 -61 lines
Log Message:
Removed Message layer completely from the Server

File Contents

# User Rev Content
1 afaq 1.1 #ifndef _DBSClient_hpp_
2     #define _DBSClient_hpp_
3    
4     #include "Message.hpp"
5     #include "Configuration.hpp"
6 sekhri 1.8 #include "ObjectLayerTables.hpp"
7 afaq 1.1 #include "Util.hpp"
8     #include "common.hpp"
9 afaq 1.2 #include <log4cxx/logger.h>
10 afaq 1.1 #include <iostream>
11    
12     class DBSClient {
13    
14     public:
15     DBSClient();
16     ~DBSClient();
17    
18 sekhri 1.8 int createPrimaryDataset(Primarydatasetmultirow* aRow, PrimarydatasetMultiTable* table) throw (const char*);
19     int readPrimaryDataset(Primarydatasetmultirow* aRow, PrimarydatasetMultiTable* table) throw (const char*);
20     int createProcessedDataset(Processingpathmultirow* aRow, ProcessingpathMultiTable* table) throw (const char*);
21     int readProcessedDataset(Processingpathmultirow* aRow, ProcessingpathMultiTable* table) throw (const char*);
22     int createEventCollection(Evcollviewmultirow* aRow, EvcollviewMultiTable* table) throw (const char*);
23     int readEventCollection(Evcollviewmultirow* aRow, EvcollviewMultiTable* table) throw (const char*);
24     int insertFiles(vector<Fileviewmultirow*> rowVector, FileviewMultiTable* table) throw (const char*);
25     int readFiles(Fileviewmultirow* aRow, FileviewMultiTable* table) throw (const char*);
26     int createBlock(Blockviewmultirow* aRow, BlockviewMultiTable* table) throw (const char*);
27     int readBlock(Blockviewmultirow* aRow, BlockviewMultiTable* table) throw (const char*);
28     int readDatasetProvenenceParent(Datasetprovenenceevparentmultirow* aRow, DatasetprovenenceevparentMultiTable* table) throw (const char*);
29     int readDatasetProvenenceChild(Datasetprovenenceevchildmultirow* aRow, DatasetprovenenceevchildMultiTable* table) throw (const char*);
30     int readCrabEC(Crabevcollviewmultirow* aRow, CrabevcollviewMultiTable* table) throw (const char*);
31 afaq 1.1
32     private:
33     int callServer(void);
34     bool localServer;
35     Util util;
36 afaq 1.2 log4cxx::LoggerPtr logger;
37 afaq 1.1 };
38    
39     #endif