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

# 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 afaq 1.9 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 sekhri 1.8 int readCrabEC(Crabevcollviewmultirow* aRow, CrabevcollviewMultiTable* table) throw (const char*);
32 afaq 1.1
33     private:
34     int callServer(void);
35     bool localServer;
36     Util util;
37 afaq 1.2 log4cxx::LoggerPtr logger;
38 afaq 1.1 };
39    
40     #endif