![]() |
XRootD
|
#include <XrdTpcState.hh>
Public Member Functions | |
State () | |
State (CURL *curl, bool tpcForwardCreds) | |
State (off_t start_offset, Stream &stream, CURL *curl, bool push, bool tpcForwardCreds) | |
~State () | |
int | AvailableBuffers () const |
bool | BodyTransferInProgress () const |
off_t | BytesTransferred () const |
void | CopyHeaders (XrdHttpExtReq &req) |
void | DumpBuffers () const |
State * | Duplicate () |
bool | Finalize () |
int | Flush () |
std::string | GetConnectionDescription () |
off_t | GetContentLength () const |
int | GetErrorCode () const |
std::string | GetErrorMessage () const |
CURL * | GetHandle () const |
int | GetStatusCode () const |
void | Move (State &other) |
void | ResetAfterRequest () |
void | SetErrorCode (int error_code) |
void | SetErrorMessage (const std::string &error_msg) |
void | SetTransferParameters (off_t offset, size_t size) |
Definition at line 20 of file XrdTpcState.hh.
|
inline |
Definition at line 23 of file XrdTpcState.hh.
Referenced by Duplicate().
|
inline |
Don't use that constructor if you want to do some transfers.
curl | the curl handle |
Definition at line 42 of file XrdTpcState.hh.
|
inline |
Definition at line 63 of file XrdTpcState.hh.
State::~State | ( | ) |
Definition at line 18 of file XrdTpcState.cc.
int State::AvailableBuffers | ( | ) | const |
Definition at line 274 of file XrdTpcState.cc.
References TPC::Stream::AvailableBuffers().
|
inline |
Definition at line 111 of file XrdTpcState.hh.
|
inline |
Definition at line 87 of file XrdTpcState.hh.
void State::CopyHeaders | ( | XrdHttpExtReq & | req | ) |
Handle the 'Copy-Headers' feature
Definition at line 95 of file XrdTpcState.cc.
References XrdHttpExtReq::headers.
void State::DumpBuffers | ( | ) | const |
Definition at line 279 of file XrdTpcState.cc.
References TPC::Stream::DumpBuffers().
State * State::Duplicate | ( | ) |
Definition at line 242 of file XrdTpcState.cc.
References State().
bool State::Finalize | ( | ) |
Definition at line 284 of file XrdTpcState.cc.
References TPC::Stream::Finalize(), and TPC::Stream::GetErrorMessage().
int State::Flush | ( | ) |
Definition at line 210 of file XrdTpcState.cc.
References TPC::Stream::GetErrorMessage(), SFS_ERROR, and TPC::Stream::Write().
std::string State::GetConnectionDescription | ( | ) |
Definition at line 294 of file XrdTpcState.cc.
|
inline |
Definition at line 89 of file XrdTpcState.hh.
|
inline |
Definition at line 91 of file XrdTpcState.hh.
|
inline |
Definition at line 97 of file XrdTpcState.hh.
|
inline |
Definition at line 103 of file XrdTpcState.hh.
|
inline |
Definition at line 95 of file XrdTpcState.hh.
void State::Move | ( | State & | other | ) |
Definition at line 27 of file XrdTpcState.cc.
void State::ResetAfterRequest | ( | ) |
Definition at line 118 of file XrdTpcState.cc.
|
inline |
Definition at line 93 of file XrdTpcState.hh.
|
inline |
Definition at line 99 of file XrdTpcState.hh.
void State::SetTransferParameters | ( | off_t | offset, |
size_t | size | ||
) |
Definition at line 265 of file XrdTpcState.cc.