#include <XrdHttpTpcState.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 | 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 | SetContentLength (const off_t content_length) |
| void | SetErrorCode (int error_code) |
| void | SetErrorMessage (const std::string &error_msg) |
| void | SetTransferParameters (off_t offset, size_t size) |
| void | SetupHeaders (XrdHttpExtReq &req) |
Definition at line 21 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 24 of file XrdHttpTpcState.hh.
Referenced by Duplicate(), and Move().
|
inline |
Don't use that constructor if you want to do some transfers.
| curl | the curl handle |
Definition at line 43 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 65 of file XrdHttpTpcState.hh.
| State::~State | ( | ) |
Definition at line 18 of file XrdHttpTpcState.cc.
| int State::AvailableBuffers | ( | ) | const |
Definition at line 292 of file XrdHttpTpcState.cc.
|
inline |
Definition at line 116 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 90 of file XrdHttpTpcState.hh.
| void State::DumpBuffers | ( | ) | const |
Definition at line 297 of file XrdHttpTpcState.cc.
| State * State::Duplicate | ( | ) |
Definition at line 260 of file XrdHttpTpcState.cc.
References State().
| bool State::Finalize | ( | ) |
Definition at line 302 of file XrdHttpTpcState.cc.
| int State::Flush | ( | ) |
Definition at line 228 of file XrdHttpTpcState.cc.
References SFS_ERROR.
| std::string State::GetConnectionDescription | ( | ) |
Definition at line 312 of file XrdHttpTpcState.cc.
|
inline |
Definition at line 94 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 96 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 102 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 108 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 100 of file XrdHttpTpcState.hh.
| void State::Move | ( | State & | other | ) |
Definition at line 27 of file XrdHttpTpcState.cc.
References State().
| void State::ResetAfterRequest | ( | ) |
Definition at line 135 of file XrdHttpTpcState.cc.
|
inline |
Definition at line 92 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 98 of file XrdHttpTpcState.hh.
|
inline |
Definition at line 104 of file XrdHttpTpcState.hh.
| void State::SetTransferParameters | ( | off_t | offset, |
| size_t | size ) |
Definition at line 283 of file XrdHttpTpcState.cc.
| void State::SetupHeaders | ( | XrdHttpExtReq & | req | ) |
Setup any headers necessary for the GET/PUT operation
Currently includes:
Definition at line 101 of file XrdHttpTpcState.cc.
References XrdHttpExtReq::headers.