#include <FtpClient.h>

Inheritance diagram for Ftp::ErrorDetail:
Collaboration diagram for Ftp::ErrorDetail:

Public Types

using Pointer = ErrorDetailPointer
 

Public Member Functions

 ErrorDetail (const int code)
 
SBuf brief () const override
 
SBuf verbose (const HttpRequestPointer &) const override
 
bool equals (const ErrorDetail &other) const
 

Private Member Functions

 MEMPROXY_CLASS (Ftp::ErrorDetail)
 

Private Attributes

int completionCode
 FTP reply completion code. More...
 

Detailed Description

Holds FTP server reply error code Squid needs to interpret internally FTP reply codes and respond with custom error (eg in the case of Ftp::Gateway), however still we need to log the exact FTP server error reply code as the reason of error.

Definition at line 27 of file FtpClient.h.

Member Typedef Documentation

◆ Pointer

Definition at line 23 of file Detail.h.

Constructor & Destructor Documentation

◆ ErrorDetail()

Ftp::ErrorDetail::ErrorDetail ( const int  code)
inlineexplicit

Definition at line 31 of file FtpClient.h.

Member Function Documentation

◆ brief()

SBuf ErrorDetail::brief ( ) const
overridevirtual
Returns
a single "token" summarizing available details suitable as an access.log field and similar output processed by programs

Implements ErrorDetail.

Definition at line 75 of file FtpClient.cc.

References ToSBuf().

◆ equals()

bool ErrorDetail::equals ( const ErrorDetail other) const
inlineinherited

Definition at line 44 of file Detail.h.

Referenced by Error::update().

◆ MEMPROXY_CLASS()

Ftp::ErrorDetail::MEMPROXY_CLASS ( Ftp::ErrorDetail  )
private

◆ verbose()

SBuf ErrorDetail::verbose ( const HttpRequestPointer ) const
overridevirtual
Returns
all available details; may be customized for the given request suitable for error pages and other output meant for human consumption

Implements ErrorDetail.

Definition at line 81 of file FtpClient.cc.

References ToSBuf().

Member Data Documentation

◆ completionCode

int Ftp::ErrorDetail::completionCode
private

Definition at line 38 of file FtpClient.h.


The documentation for this class was generated from the following files:

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors