#include <XrdPfcFile.hh>
Public Member Functions | |
Block (File *f, IO *io, char *buf, long long off, int size, bool m_prefetch) | |
char * | get_buff () |
int | get_size () |
long long | get_offset () |
IO * | get_io () const |
bool | is_finished () |
bool | is_ok () |
bool | is_failed () |
void | set_downloaded () |
void | set_error (int err) |
void | reset_error_and_set_io (IO *io) |
Public Attributes | |
File * | m_file |
IO * | m_io |
char * | m_buff |
long long | m_offset |
int | m_size |
int | m_refcnt |
int | m_errno |
bool | m_downloaded |
bool | m_prefetch |
XrdPfc::Block::Block | ( | File * | f, | |
IO * | io, | |||
char * | buf, | |||
long long | off, | |||
int | size, | |||
bool | m_prefetch | |||
) | [inline] |
char* XrdPfc::Block::get_buff | ( | ) | [inline] |
References m_buff.
long long XrdPfc::Block::get_offset | ( | ) | [inline] |
References m_offset.
int XrdPfc::Block::get_size | ( | ) | [inline] |
References m_size.
bool XrdPfc::Block::is_failed | ( | ) | [inline] |
References m_errno.
bool XrdPfc::Block::is_finished | ( | ) | [inline] |
References m_downloaded, and m_errno.
bool XrdPfc::Block::is_ok | ( | ) | [inline] |
References m_downloaded.
void XrdPfc::Block::set_downloaded | ( | ) | [inline] |
References m_downloaded.
void XrdPfc::Block::set_error | ( | int | err | ) | [inline] |
References m_errno.
char* XrdPfc::Block::m_buff |
Referenced by get_buff().
Referenced by is_finished(), is_ok(), and set_downloaded().
Referenced by is_failed(), is_finished(), reset_error_and_set_io(), and set_error().
Referenced by get_io(), and reset_error_and_set_io().
long long XrdPfc::Block::m_offset |
Referenced by get_offset().
Referenced by get_size().