|
XRootD
|
#include <XrdTpcState.hh>
Collaboration diagram for TPC::State: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 XrdTpcState.hh.
|
inline |
Definition at line 24 of file XrdTpcState.hh.
Referenced by Duplicate().
Here is the caller graph for this function:
|
inline |
Don't use that constructor if you want to do some transfers.
| curl | the curl handle |
Definition at line 43 of file XrdTpcState.hh.
|
inline |
Definition at line 65 of file XrdTpcState.hh.
| State::~State | ( | ) |
Definition at line 18 of file XrdTpcState.cc.
| int State::AvailableBuffers | ( | ) | const |
Definition at line 292 of file XrdTpcState.cc.
References TPC::Stream::AvailableBuffers().
Here is the call graph for this function:
|
inline |
Definition at line 116 of file XrdTpcState.hh.
|
inline |
Definition at line 90 of file XrdTpcState.hh.
| void State::DumpBuffers | ( | ) | const |
Definition at line 297 of file XrdTpcState.cc.
References TPC::Stream::DumpBuffers().
Here is the call graph for this function:| State * State::Duplicate | ( | ) |
Definition at line 260 of file XrdTpcState.cc.
References State().
Here is the call graph for this function:| bool State::Finalize | ( | ) |
Definition at line 302 of file XrdTpcState.cc.
References TPC::Stream::Finalize(), and TPC::Stream::GetErrorMessage().
Here is the call graph for this function:| int State::Flush | ( | ) |
Definition at line 228 of file XrdTpcState.cc.
References TPC::Stream::GetErrorMessage(), SFS_ERROR, and TPC::Stream::Write().
Here is the call graph for this function:| std::string State::GetConnectionDescription | ( | ) |
Definition at line 312 of file XrdTpcState.cc.
|
inline |
Definition at line 94 of file XrdTpcState.hh.
|
inline |
Definition at line 96 of file XrdTpcState.hh.
|
inline |
Definition at line 102 of file XrdTpcState.hh.
|
inline |
Definition at line 108 of file XrdTpcState.hh.
|
inline |
Definition at line 100 of file XrdTpcState.hh.
| void State::Move | ( | State & | other | ) |
Definition at line 27 of file XrdTpcState.cc.
| void State::ResetAfterRequest | ( | ) |
Definition at line 135 of file XrdTpcState.cc.
|
inline |
Definition at line 92 of file XrdTpcState.hh.
|
inline |
Definition at line 98 of file XrdTpcState.hh.
|
inline |
Definition at line 104 of file XrdTpcState.hh.
| void State::SetTransferParameters | ( | off_t | offset, |
| size_t | size | ||
| ) |
Definition at line 283 of file XrdTpcState.cc.
| void State::SetupHeaders | ( | XrdHttpExtReq & | req | ) |
Setup any headers necessary for the GET/PUT operation
Currently includes:
Expect: 100-continue to get around a libcurl bug on uploads. Definition at line 101 of file XrdTpcState.cc.
References XrdHttpExtReq::headers.