1 #ifndef Utilities_XrdAdaptor_XrdFile_h
2 #define Utilities_XrdAdaptor_XrdFile_h
7 # include "XrdCl/XrdClFile.hh"
12 namespace XrdAdaptor {
25 virtual void create (
const char *name,
26 bool exclusive =
false,
29 bool exclusive =
false,
31 virtual void open (
const char *name,
54 virtual void close (
void);
55 virtual void abort (
void);
76 #endif // XRD_ADAPTOR_XRD_FILE_H
virtual void resize(IOOffset size)
std::shared_ptr< XrdAdaptor::RequestManager > m_requestmanager
virtual IOSize readv(IOPosBuffer *into, IOSize buffers)
virtual void create(const char *name, bool exclusive=false, int perms=0666)
std::vector< Variable::Flags > flags
virtual bool prefetch(const IOPosBuffer *what, IOSize n)
virtual IOSize write(const void *from, IOSize n, IOOffset pos)
virtual IOOffset position(void) const
std::atomic< unsigned int > m_op_count
virtual IOSize readv(IOBuffer *into, IOSize n)
std::shared_ptr< XrdCl::File > getActiveFile()
virtual IOOffset size(void) const
void addConnection(cms::Exception &)
virtual void open(const char *name, int flags=IOFlags::OpenRead, int perms=0666)
virtual IOSize write(const void *from, IOSize n)