![]() |
XRootD
|
#include <XrdTpcStream.hh>
Public Member Functions | |
Stream (std::unique_ptr< XrdSfsFile > fh, size_t max_blocks, size_t buffer_size, XrdSysError &log) | |
~Stream () | |
size_t | AvailableBuffers () const |
void | DumpBuffers () const |
bool | Finalize () |
std::string | GetErrorMessage () const |
int | Read (off_t offset, char *buffer, size_t size) |
int | Stat (struct stat *) |
ssize_t | Write (off_t offset, const char *buffer, size_t size, bool force) |
Definition at line 22 of file XrdTpcStream.hh.
|
inline |
Definition at line 24 of file XrdTpcStream.hh.
Stream::~Stream | ( | ) |
Definition at line 11 of file XrdTpcStream.cc.
|
inline |
Definition at line 56 of file XrdTpcStream.hh.
Referenced by TPC::State::AvailableBuffers().
void Stream::DumpBuffers | ( | ) | const |
Definition at line 185 of file XrdTpcStream.cc.
References XrdSysError::Emsg().
Referenced by TPC::State::DumpBuffers(), and Write().
bool Stream::Finalize | ( | ) |
Definition at line 24 of file XrdTpcStream.cc.
References SFS_ERROR.
Referenced by TPC::State::Finalize().
|
inline |
Definition at line 69 of file XrdTpcStream.hh.
Referenced by TPC::State::Finalize(), and TPC::State::Flush().
int Stream::Read | ( | off_t | offset, |
char * | buffer, | ||
size_t | size | ||
) |
Definition at line 208 of file XrdTpcStream.cc.
int Stream::Stat | ( | struct stat * | buf | ) |
Definition at line 54 of file XrdTpcStream.cc.
ssize_t Stream::Write | ( | off_t | offset, |
const char * | buffer, | ||
size_t | size, | ||
bool | force | ||
) |
Definition at line 60 of file XrdTpcStream.cc.
References DumpBuffers(), and SFS_ERROR.
Referenced by TPC::State::Flush().