ewmscp
..
|
#include <inputHandlerDcap.h>
Public Member Functions | |
readerDcap (const std::string &aPath, copyRequest::stateType &state, const genericStat &inititalStat) | |
~readerDcap () override | |
bool | readBlock (block &b) override |
void | checkUnchangedness () override |
![]() | |
dcapIoCommon (const std::string &aPath) | |
std::unique_ptr< const genericStat > | getStat () override |
![]() | |
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< 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... | |
Additional Inherited Members | |
![]() | |
const std::string | path |
int | fd = -1 |
![]() | |
size_t | blockSize |
in bytes, block size to be used when reading or writing More... | |
Definition at line 18 of file inputHandlerDcap.h.
inputHandler::dcap::readerDcap::readerDcap | ( | const std::string & | aPath, |
copyRequest::stateType & | state, | ||
const genericStat & | inititalStat | ||
) |
Definition at line 22 of file inputHandlerDcap.cpp.
References throwcall::dcap::badval(), ioHandle::blockSize, dcapIoCommon::fd, dcapIoCommon::path, and copyRequest::vanished.
|
override |
Definition at line 39 of file inputHandlerDcap.cpp.
References errMsg::debug, errMsg::emit(), and throwcall::dcap::good0().
|
override |
Definition at line 91 of file inputHandlerDcap.cpp.
References dcapStat, genericStat::getMtime(), throwcall::dcap::good0(), genericStat::isSameMtimeAs(), and genericStat::size.
|
override |
Definition at line 55 of file inputHandlerDcap.cpp.
References throwcall::dcap::badval(), block::bufferAt(), block::bump_size(), block::clear(), block::max_size(), readRateLimit, block::size(), throttle::watch::update(), and throttle::watch::wait().