XRootD
XrdClHttpPlugInFactory.cc
Go to the documentation of this file.
1
5
#include "
XrdClHttp/XrdClHttpPlugInFactory.hh
"
6
7
#include "XrdVersion.hh"
8
9
#include "
XrdClHttp/XrdClHttpFilePlugIn.hh
"
10
#include "
XrdClHttp/XrdClHttpFileSystemPlugIn.hh
"
11
12
XrdVERSIONINFO
(
XrdClGetPlugIn
,
XrdClGetPlugIn
)
13
14
extern
"C"
15
{
16
void
*
XrdClGetPlugIn
(
const
void
*
/*arg*/
)
17
{
18
return
static_cast<
void
*
>
(
new
HttpPlugInFactory
());
19
}
20
}
21
22
HttpPlugInFactory::~HttpPlugInFactory() {
23
}
24
25
XrdCl::FilePlugIn
* HttpPlugInFactory::CreateFile(
const
std::string &
/*url*/
) {
26
return
new
XrdCl::HttpFilePlugIn
();
27
}
28
29
XrdCl::FileSystemPlugIn
* HttpPlugInFactory::CreateFileSystem(
const
std::string& url ) {
30
return
new
XrdCl::HttpFileSystemPlugIn
(url);
31
}
XrdClHttpFilePlugIn.hh
XrdClHttpFileSystemPlugIn.hh
XrdVERSIONINFO
XrdVERSIONINFO(XrdClGetPlugIn, XrdClGetPlugIn) extern "C"
Definition:
XrdClHttpPlugInFactory.cc:12
XrdClHttpPlugInFactory.hh
XrdClGetPlugIn
void * XrdClGetPlugIn(const void *)
HttpPlugInFactory
Definition:
XrdClHttpPlugInFactory.hh:15
XrdCl::FilePlugIn
An interface for file plug-ins.
Definition:
XrdClPlugInInterface.hh:39
XrdCl::FileSystemPlugIn
An interface for file plug-ins.
Definition:
XrdClPlugInInterface.hh:284
XrdCl::HttpFilePlugIn
Definition:
XrdClHttpFilePlugIn.hh:33
XrdCl::HttpFileSystemPlugIn
Definition:
XrdClHttpFileSystemPlugIn.hh:18
XrdClHttp
XrdClHttpPlugInFactory.cc
Generated by
1.9.1