Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ReplicaOptimizationFactory.h

Go to the documentation of this file.
00001 /* -*- C++ -*-
00002  * ReplicaOptimizationFactory.h
00003  *
00004  * Copyright (c) 2002 CERN on behalf of the EU DataGrid.
00005  * For license conditions see LICENSE file or 
00006  * http://www.edg.org/license.html
00007  * 
00008  */
00009 
00010 
00011 #ifndef ReplicaOptimizationFactory_H
00012 #define ReplicaOptimizationFactory_H 1
00013 
00014 #include "EdgReplicaOptimization/ReplicaOptimization.h"
00015 
00016 #include <string>
00017 
00018 namespace EdgReplicaOptimization {
00025   class ReplicaOptimizationFactory {
00026   public:
00027 
00037     static
00038     ReplicaOptimization* getReplicaOptimization(const std::string& url,
00039                                                 int timeOut=30
00040 #ifdef WITH_WP2_SECURITY
00041                                                 ,char *passphrase = NULL,
00042                                                 char *credentials = NULL,
00043                                                 char *cacertdir = NULL,
00044                                                 char *rseedfile = NULL,
00045                                                 char *role = NULL,
00046                                                 char *policy = NULL,
00047                                                 char *defrole = NULL,
00048                                                 char *defpolicy = NULL
00049 #endif
00050                                                 );
00051   };
00052 }
00053 
00054 #endif // OptimizationFactory_H
00055 
The EU DataGrid Project. All rights reserved.