Last change
on this file since 1510 was 1510, checked in by davidb, 24 years ago |
Improvements to corba implementation so images within a collection
are handled better and images in the remote site that are missing
locally are cached.
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.0 KB
|
Line | |
---|
1 | /************************************************************
|
---|
2 | *
|
---|
3 | * Collection set
|
---|
4 | *
|
---|
5 | ************************************************************/
|
---|
6 |
|
---|
7 | #ifndef COLLECTSET_H
|
---|
8 | #define COLLECTSET_H
|
---|
9 |
|
---|
10 | #include "collectserver.h"
|
---|
11 | #include "cnfgable.h"
|
---|
12 |
|
---|
13 | class collectset : public configurable
|
---|
14 | {
|
---|
15 | protected:
|
---|
16 | collectservermapclass cservers;
|
---|
17 | int noofservers;
|
---|
18 | text_t httpdomain;
|
---|
19 | text_t httpprefix;
|
---|
20 |
|
---|
21 | public:
|
---|
22 | collectset(text_t &gsdlhome);
|
---|
23 | virtual ~collectset();
|
---|
24 |
|
---|
25 | // initialise the collections
|
---|
26 | bool init(ostream &logout);
|
---|
27 |
|
---|
28 | // configure all the servers as supplied
|
---|
29 | void configure (const text_t &key, const text_tarray &cfgline);
|
---|
30 |
|
---|
31 | // return the total number of servers in the set
|
---|
32 | int size();
|
---|
33 |
|
---|
34 | void getCollectionList(text_tarray &collist);
|
---|
35 |
|
---|
36 | // return the component map
|
---|
37 | collectservermapclass servers();
|
---|
38 |
|
---|
39 | // return an individual collection server
|
---|
40 | collectserver *getCollectServer(const text_t &collection)
|
---|
41 | {
|
---|
42 | return cservers.getcollectserver(collection);
|
---|
43 | }
|
---|
44 | };
|
---|
45 |
|
---|
46 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.