Loading...
Searching...
No Matches
XrdClPlugInInterface.hh
Go to the documentation of this file.
//------------------------------------------------------------------------------
// Copyright (c) 2014 by European Organization for Nuclear Research (CERN)
// Author: Lukasz Janyst <ljanyst@cern.ch>
//------------------------------------------------------------------------------
// This file is part of the XRootD software suite.
//
// XRootD is free software: you can redistribute it and/or modify
// it under the terms of the GNU Lesser General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// XRootD is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU Lesser General Public License
// along with XRootD. If not, see <http://www.gnu.org/licenses/>.
//
// In applying this licence, CERN does not waive the privileges and immunities
// granted to it by virtue of its status as an Intergovernmental Organization
// or submit itself to any jurisdiction.
//------------------------------------------------------------------------------
#ifndef __XRD_CL_PLUGIN_INTERFACE__
#define __XRD_CL_PLUGIN_INTERFACE__
#include "XrdCl/XrdClFile.hh"
#include "XrdCl/XrdClFileSystem.hh"
#include "XrdCl/XrdClOptional.hh"
namespace XrdCl
{
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
class FilePlugIn
{
public:
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual ~FilePlugIn() {}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Open( const std::string &url,
OpenFlags::Flags flags,
Access::Mode mode,
ResponseHandler *handler,
uint16_t timeout )
{
(void)url; (void)flags; (void)mode; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Close( ResponseHandler *handler,
uint16_t timeout )
{
(void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Stat( bool force,
ResponseHandler *handler,
uint16_t timeout )
{
(void)force; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Read( uint64_t offset,
uint32_t size,
void *buffer,
ResponseHandler *handler,
uint16_t timeout )
{
(void)offset; (void)size; (void)buffer; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Read( uint64_t offset,
uint32_t size,
Optional<uint64_t> fdoff,
int fd,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)offset; (void)size; (void)fdoff; (void)fd, (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus PgRead( uint64_t offset,
uint32_t size,
void *buffer,
ResponseHandler *handler,
uint16_t timeout )
{
(void)offset; (void)size; (void)buffer; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Write( uint64_t offset,
uint32_t size,
const void *buffer,
ResponseHandler *handler,
uint16_t timeout )
{
(void)offset; (void)size; (void)buffer; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Write( uint64_t offset,
Buffer &&buffer,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)offset; (void)buffer; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Write( uint64_t offset,
uint32_t size,
Optional<uint64_t> fdoff,
int fd,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)offset; (void)size; (void)fdoff; (void)fd, (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus PgWrite( uint64_t offset,
uint32_t nbpgs,
const void *buffer,
std::vector<uint32_t> &cksums,
ResponseHandler *handler,
uint16_t timeout )
{
(void)offset; (void)nbpgs; (void)buffer; (void)cksums, (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Sync( ResponseHandler *handler,
uint16_t timeout )
{
(void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Truncate( uint64_t size,
ResponseHandler *handler,
uint16_t timeout )
{
(void)size; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus VectorRead( const ChunkList &chunks,
void *buffer,
ResponseHandler *handler,
uint16_t timeout )
{
(void)chunks; (void)buffer; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus VectorWrite( const ChunkList &chunks,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)chunks; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus WriteV( uint64_t offset,
const struct iovec *iov,
int iovcnt,
ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)offset; (void)iov; (void)iovcnt; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Fcntl( const Buffer &arg,
ResponseHandler *handler,
uint16_t timeout )
{
(void)arg; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Visa( ResponseHandler *handler,
uint16_t timeout )
{
(void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual bool IsOpen() const
{
return false;
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual bool SetProperty( const std::string &name,
const std::string &value )
{
(void)name; (void)value;
return false;
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual bool GetProperty( const std::string &name,
std::string &value ) const
{
(void)name; (void)value;
return false;
}
};
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
class FileSystemPlugIn
{
public:
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual ~FileSystemPlugIn() {}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Locate( const std::string &path,
OpenFlags::Flags flags,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)flags; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus DeepLocate( const std::string &path,
OpenFlags::Flags flags,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)flags; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Mv( const std::string &source,
const std::string &dest,
ResponseHandler *handler,
uint16_t timeout )
{
(void)source; (void)dest; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Query( QueryCode::Code queryCode,
const Buffer &arg,
ResponseHandler *handler,
uint16_t timeout )
{
(void)queryCode; (void)arg; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Truncate( const std::string &path,
uint64_t size,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)size; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Rm( const std::string &path,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus MkDir( const std::string &path,
MkDirFlags::Flags flags,
Access::Mode mode,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)flags; (void)mode; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus RmDir( const std::string &path,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus ChMod( const std::string &path,
Access::Mode mode,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)mode; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Ping( ResponseHandler *handler,
uint16_t timeout )
{
(void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Stat( const std::string &path,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus StatVFS( const std::string &path,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Protocol( ResponseHandler *handler,
uint16_t timeout = 0 )
{
(void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus DirList( const std::string &path,
DirListFlags::Flags flags,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)flags; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus SendInfo( const std::string &info,
ResponseHandler *handler,
uint16_t timeout )
{
(void)info; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus Prepare( const std::vector<std::string> &fileList,
PrepareFlags::Flags flags,
uint8_t priority,
ResponseHandler *handler,
uint16_t timeout )
{
(void)fileList; (void)flags; (void)priority; (void)handler;
(void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus SetXAttr( const std::string &path,
const std::vector<xattr_t> &attrs,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)attrs; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus GetXAttr( const std::string &path,
const std::vector<std::string> &attrs,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)attrs; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus DelXAttr( const std::string &path,
const std::vector<std::string> &attrs,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)attrs; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual XRootDStatus ListXAttr( const std::string &path,
ResponseHandler *handler,
uint16_t timeout )
{
(void)path; (void)handler; (void)timeout;
return XRootDStatus( stError, errNotImplemented );
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual bool SetProperty( const std::string &name,
const std::string &value )
{
(void)name; (void)value;
return false;
}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual bool GetProperty( const std::string &name,
std::string &value ) const
{
(void)name; (void)value;
return false;
}
};
//----------------------------------------------------------------------------
//----------------------------------------------------------------------------
class PlugInFactory
{
public:
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual ~PlugInFactory() {}
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual FilePlugIn *CreateFile( const std::string &url ) = 0;
//------------------------------------------------------------------------
//------------------------------------------------------------------------
virtual FileSystemPlugIn *CreateFileSystem( const std::string &url ) = 0;
};
}
#endif // __XRD_CL_PLUGIN_INTERFACE__
XrdClFileSystem.hh
XrdClFile.hh
XrdClOptional.hh
XrdCl::Buffer
Binary blob representation.
Definition XrdClBuffer.hh:34
XrdCl::FilePlugIn
An interface for file plug-ins.
Definition XrdClPlugInInterface.hh:39
XrdCl::FilePlugIn::Write
virtual XRootDStatus Write(uint64_t offset, Buffer &&buffer, ResponseHandler *handler, uint16_t timeout=0)
Definition XrdClPlugInInterface.hh:135
XrdCl::FilePlugIn::Fcntl
virtual XRootDStatus Fcntl(const Buffer &arg, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:233
XrdCl::FilePlugIn::Read
virtual XRootDStatus Read(uint64_t offset, uint32_t size, void *buffer, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:82
XrdCl::FilePlugIn::Open
virtual XRootDStatus Open(const std::string &url, OpenFlags::Flags flags, Access::Mode mode, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:48
XrdCl::FilePlugIn::Sync
virtual XRootDStatus Sync(ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:175
XrdCl::FilePlugIn::IsOpen
virtual bool IsOpen() const
Definition XrdClPlugInInterface.hh:254
XrdCl::FilePlugIn::Close
virtual XRootDStatus Close(ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:61
XrdCl::FilePlugIn::WriteV
virtual XRootDStatus WriteV(uint64_t offset, const struct iovec *iov, int iovcnt, ResponseHandler *handler, uint16_t timeout=0)
Definition XrdClPlugInInterface.hh:220
XrdCl::FilePlugIn::GetProperty
virtual bool GetProperty(const std::string &name, std::string &value) const
Definition XrdClPlugInInterface.hh:272
XrdCl::FilePlugIn::VectorRead
virtual XRootDStatus VectorRead(const ChunkList &chunks, void *buffer, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:196
XrdCl::FilePlugIn::PgRead
virtual XRootDStatus PgRead(uint64_t offset, uint32_t size, void *buffer, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:109
XrdCl::FilePlugIn::Truncate
virtual XRootDStatus Truncate(uint64_t size, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:185
XrdCl::FilePlugIn::Visa
virtual XRootDStatus Visa(ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:244
XrdCl::FilePlugIn::Stat
virtual XRootDStatus Stat(bool force, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:71
XrdCl::FilePlugIn::SetProperty
virtual bool SetProperty(const std::string &name, const std::string &value)
Definition XrdClPlugInInterface.hh:262
XrdCl::FilePlugIn::Read
virtual XRootDStatus Read(uint64_t offset, uint32_t size, Optional< uint64_t > fdoff, int fd, ResponseHandler *handler, uint16_t timeout=0)
Definition XrdClPlugInInterface.hh:95
XrdCl::FilePlugIn::Write
virtual XRootDStatus Write(uint64_t offset, uint32_t size, const void *buffer, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:122
XrdCl::FilePlugIn::VectorWrite
virtual XRootDStatus VectorWrite(const ChunkList &chunks, ResponseHandler *handler, uint16_t timeout=0)
Definition XrdClPlugInInterface.hh:208
XrdCl::FilePlugIn::~FilePlugIn
virtual ~FilePlugIn()
Destructor.
Definition XrdClPlugInInterface.hh:44
XrdCl::FilePlugIn::PgWrite
virtual XRootDStatus PgWrite(uint64_t offset, uint32_t nbpgs, const void *buffer, std::vector< uint32_t > &cksums, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:161
XrdCl::FilePlugIn::Write
virtual XRootDStatus Write(uint64_t offset, uint32_t size, Optional< uint64_t > fdoff, int fd, ResponseHandler *handler, uint16_t timeout=0)
Definition XrdClPlugInInterface.hh:147
XrdCl::FileSystemPlugIn
An interface for file plug-ins.
Definition XrdClPlugInInterface.hh:284
XrdCl::FileSystemPlugIn::Mv
virtual XRootDStatus Mv(const std::string &source, const std::string &dest, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:318
XrdCl::FileSystemPlugIn::Ping
virtual XRootDStatus Ping(ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:401
XrdCl::FileSystemPlugIn::SetXAttr
virtual XRootDStatus SetXAttr(const std::string &path, const std::vector< xattr_t > &attrs, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:480
XrdCl::FileSystemPlugIn::SendInfo
virtual XRootDStatus SendInfo(const std::string &info, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:455
XrdCl::FileSystemPlugIn::DelXAttr
virtual XRootDStatus DelXAttr(const std::string &path, const std::vector< std::string > &attrs, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:504
XrdCl::FileSystemPlugIn::DirList
virtual XRootDStatus DirList(const std::string &path, DirListFlags::Flags flags, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:443
XrdCl::FileSystemPlugIn::ChMod
virtual XRootDStatus ChMod(const std::string &path, Access::Mode mode, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:389
XrdCl::FileSystemPlugIn::GetProperty
virtual bool GetProperty(const std::string &name, std::string &value) const
Definition XrdClPlugInInterface.hh:537
XrdCl::FileSystemPlugIn::MkDir
virtual XRootDStatus MkDir(const std::string &path, MkDirFlags::Flags flags, Access::Mode mode, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:365
XrdCl::FileSystemPlugIn::Locate
virtual XRootDStatus Locate(const std::string &path, OpenFlags::Flags flags, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:294
XrdCl::FileSystemPlugIn::StatVFS
virtual XRootDStatus StatVFS(const std::string &path, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:422
XrdCl::FileSystemPlugIn::Protocol
virtual XRootDStatus Protocol(ResponseHandler *handler, uint16_t timeout=0)
Definition XrdClPlugInInterface.hh:433
XrdCl::FileSystemPlugIn::RmDir
virtual XRootDStatus RmDir(const std::string &path, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:378
XrdCl::FileSystemPlugIn::SetProperty
virtual bool SetProperty(const std::string &name, const std::string &value)
Definition XrdClPlugInInterface.hh:527
XrdCl::FileSystemPlugIn::Query
virtual XRootDStatus Query(QueryCode::Code queryCode, const Buffer &arg, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:330
XrdCl::FileSystemPlugIn::GetXAttr
virtual XRootDStatus GetXAttr(const std::string &path, const std::vector< std::string > &attrs, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:492
XrdCl::FileSystemPlugIn::Prepare
virtual XRootDStatus Prepare(const std::vector< std::string > &fileList, PrepareFlags::Flags flags, uint8_t priority, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:466
XrdCl::FileSystemPlugIn::Rm
virtual XRootDStatus Rm(const std::string &path, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:354
XrdCl::FileSystemPlugIn::DeepLocate
virtual XRootDStatus DeepLocate(const std::string &path, OpenFlags::Flags flags, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:306
XrdCl::FileSystemPlugIn::ListXAttr
virtual XRootDStatus ListXAttr(const std::string &path, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:516
XrdCl::FileSystemPlugIn::~FileSystemPlugIn
virtual ~FileSystemPlugIn()
Destructor.
Definition XrdClPlugInInterface.hh:289
XrdCl::FileSystemPlugIn::Stat
virtual XRootDStatus Stat(const std::string &path, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:411
XrdCl::FileSystemPlugIn::Truncate
virtual XRootDStatus Truncate(const std::string &path, uint64_t size, ResponseHandler *handler, uint16_t timeout)
Definition XrdClPlugInInterface.hh:342
XrdCl::Optional
Definition XrdClOptional.hh:44
XrdCl::PlugInFactory
Plugin factory.
Definition XrdClPlugInInterface.hh:549
XrdCl::PlugInFactory::~PlugInFactory
virtual ~PlugInFactory()
Destructor.
Definition XrdClPlugInInterface.hh:554
XrdCl::PlugInFactory::CreateFile
virtual FilePlugIn * CreateFile(const std::string &url)=0
Create a file plug-in for the given URL.
XrdCl::PlugInFactory::CreateFileSystem
virtual FileSystemPlugIn * CreateFileSystem(const std::string &url)=0
Create a file system plug-in for the given URL.
XrdCl::ResponseHandler
Handle an async response.
Definition XrdClXRootDResponses.hh:1127
XrdCl::XRootDStatus
Request status.
Definition XrdClXRootDResponses.hh:219
XrdCl
Definition XrdClAction.hh:34
XrdCl::errNotImplemented
const uint16_t errNotImplemented
Operation is not implemented.
Definition XrdClStatus.hh:64
XrdCl::stError
const uint16_t stError
An error occurred that could potentially be retried.
Definition XrdClStatus.hh:32
XrdCl::ChunkList
std::vector< ChunkInfo > ChunkList
List of chunks.
Definition XrdClXRootDResponses.hh:1056
XrdCl::value
Response NullRef< Response >::value
Definition XrdClOperationHandlers.hh:128
XrdCl::Access::Mode
Mode
Access mode.
Definition XrdClFileSystem.hh:122
XrdCl::DirListFlags::Flags
Flags
Definition XrdClFileSystem.hh:156
XrdCl::MkDirFlags::Flags
Flags
Definition XrdClFileSystem.hh:143
XrdCl::OpenFlags::Flags
Flags
Open flags, may be or'd when appropriate.
Definition XrdClFileSystem.hh:76
XrdCl::PrepareFlags::Flags
Flags
Definition XrdClFileSystem.hh:176
XrdCl::QueryCode::Code
Code
XRootD query request codes.
Definition XrdClFileSystem.hh:53
iov
Definition XrdOucIOVec.hh:65