ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/DBS/Servers/AppServer/include/DBSClient.hpp
Revision: 1.9
Committed: Mon Feb 6 23:18:52 2006 UTC (19 years, 3 months ago) by afaq
Branch: MAIN
CVS Tags: AfterJan2006SchemaChanges_v01_00_01, AfterJan2006SchemaChanges_v01_00_00, AfterJan2006SchemaChanges
Branch point for: BranchForCPPWebServiceTesting
Changes since 1.8: +3 -2 lines
Log Message:
Non working set, Checking IN for securing the changes, will resume working

File Contents

# Content
1 #ifndef _DBSClient_hpp_
2 #define _DBSClient_hpp_
3
4 #include "Message.hpp"
5 #include "Configuration.hpp"
6 #include "ObjectLayerTables.hpp"
7 #include "Util.hpp"
8 #include "common.hpp"
9 #include <log4cxx/logger.h>
10 #include <iostream>
11
12 class DBSClient {
13
14 public:
15 DBSClient();
16 ~DBSClient();
17
18 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 readPdblock(Pdblockviewmultirow* aRow, PdblockviewMultiTable* table) throw (const char*);
29 //int readDatasetProvenenceParent(Datasetprovenenceevparentmultirow* aRow, DatasetprovenenceevparentMultiTable* table) throw (const char*);
30 //int readDatasetProvenenceChild(Datasetprovenenceevchildmultirow* aRow, DatasetprovenenceevchildMultiTable* table) throw (const char*);
31 int readCrabEC(Crabevcollviewmultirow* aRow, CrabevcollviewMultiTable* table) throw (const char*);
32
33 private:
34 int callServer(void);
35 bool localServer;
36 Util util;
37 log4cxx::LoggerPtr logger;
38 };
39
40 #endif