ewmscp
..
|
class as base for inputHandler::base::reader and outputHandler::base::writer containing the common parts of both classes More...
#include <ioHandle.h>
Classes | |
class | attrDataType |
class for asttribute data, abstract base to be implemented for specific handlers More... | |
Public Member Functions | |
ioHandle () | |
virtual | ~ioHandle () noexcept(false) |
virtual bool | parallelizable () const |
tell if this handler is capable of parallel IO. Unsually not the case More... | |
virtual void | setXattr (const std::string &, const std::string &) |
virtual std::string | getXattr (const std::string &) |
get one extended attribute value More... | |
virtual void | removeXattr (const std::string &) |
virtual size_t | getBlockSize () const |
virtual void | setBlockSize (size_t newSize) |
virtual std::unique_ptr< const genericStat > | getStat ()=0 |
virtual std::unique_ptr< attrDataType > | getAttrData (const outputHandler::base *) |
get attributes in the optimal way for setting with aOutputHandler More... | |
virtual std::unique_ptr< acl::list > | getAclData () |
get acls More... | |
Protected Attributes | |
size_t | blockSize |
in bytes, block size to be used when reading or writing More... | |
class as base for inputHandler::base::reader and outputHandler::base::writer containing the common parts of both classes
Definition at line 15 of file ioHandle.h.
|
inline |
Definition at line 34 of file ioHandle.h.
|
inlinevirtualnoexcept |
Definition at line 35 of file ioHandle.h.
|
inlinevirtual |
get acls
std::system_error | when reading of acls fails |
Reimplemented in gpfsIoCommon.
Definition at line 77 of file ioHandle.h.
|
inlinevirtual |
get attributes in the optimal way for setting with aOutputHandler
std::system_error | when reading of attributes fails |
Reimplemented in daosFsIoCommon, posixFileIoCommon, and gpfsIoCommon.
Definition at line 69 of file ioHandle.h.
Referenced by posixFileIoCommon::getAttrData().
|
inlinevirtual |
Definition at line 58 of file ioHandle.h.
References blockSize.
Referenced by copyRequest::base::doBlockSizeSetup(), and outputHandler::Gpfs::writerGpfs::doSpecialFdHandling().
|
pure virtual |
Implemented in davixIoCommon, dcapIoCommon, daosFsIoCommon, libsshIoCommon, posixFileIoCommon, and inputHandler::dummy::readerDummy.
|
inlinevirtual |
get one extended attribute value
std::system_error | if attribute setting fails |
unimplementedActionError | if not implemented (most handlers) |
Reimplemented in daosFsIoCommon, and posixFileIoCommon.
Definition at line 51 of file ioHandle.h.
Referenced by copyRequest::base::attrset(), and copyRequest::base::checkAttributes().
|
inlinevirtual |
tell if this handler is capable of parallel IO. Unsually not the case
Reimplemented in inputHandler::posixFile::readerPosixFile, outputHandler::daosFs::writerDaosFs, outputHandler::posixFile::writerPosixFile, inputHandler::dummy::readerDummy, inputHandler::daosFs::readerDaosFs, and inputHandler::davix::readerDavix.
Definition at line 38 of file ioHandle.h.
Referenced by copyRequest::base::doThreadedCopy(), copyRequest::base::reader(), and copyRequest::base::writeActor::writeActor().
|
inlinevirtual |
Reimplemented in daosFsIoCommon, and posixFileIoCommon.
Definition at line 55 of file ioHandle.h.
Referenced by copyRequest::base::attrdel().
|
inlinevirtual |
Definition at line 61 of file ioHandle.h.
References blockSize.
Referenced by copyRequest::base::doBlockSizeSetup().
|
inlinevirtual |
Reimplemented in daosFsIoCommon, and posixFileIoCommon.
Definition at line 43 of file ioHandle.h.
Referenced by copyRequest::base::attrset(), posixFileIoCommon::attrDataType::set(), and daosFsIoCommon::attrDataType::set().
|
protected |
in bytes, block size to be used when reading or writing
Definition at line 17 of file ioHandle.h.
Referenced by getBlockSize(), inputHandler::daosFs::readerDaosFs::readerDaosFs(), inputHandler::davix::readerDavix::readerDavix(), inputHandler::dcap::readerDcap::readerDcap(), inputHandler::libssh::readerLibssh::readerLibssh(), inputHandler::posixFile::readerPosixFile::readerPosixFile(), setBlockSize(), outputHandler::daosFs::writerDaosFs::writerDaosFs(), outputHandler::dcap::writerDcap::writerDcap(), outputHandler::libssh::writerLibssh::writerLibssh(), and outputHandler::posixFile::writerPosixFile::writerPosixFile().