XRootD
Loading...
Searching...
No Matches
XrdCl::Monitor::ErrorInfo Struct Reference

Describe an encountered file-based error. More...

#include <XrdClMonitor.hh>

+ Collaboration diagram for XrdCl::Monitor::ErrorInfo:

Public Types

enum  Operation {
  ErrOpen = 0 ,
  ErrRead ,
  ErrReadV ,
  ErrWrite ,
  ErrWriteV ,
  ErrUnc
}
 

Public Member Functions

 ErrorInfo ()
 

Public Attributes

const URLfile
 The file in question.
 
Operation opCode
 The associated operation.
 
const XRootDStatusstatus
 Status code.
 

Detailed Description

Describe an encountered file-based error.

Definition at line 140 of file XrdClMonitor.hh.

Member Enumeration Documentation

◆ Operation

Enumerator
ErrOpen 

Open (ditto)

ErrRead 

Read.

ErrReadV 

Readv.

ErrWrite 

Write.

ErrWriteV 

WriteV.

ErrUnc 

Unclassified operation.

Definition at line 142 of file XrdClMonitor.hh.

Constructor & Destructor Documentation

◆ ErrorInfo()

XrdCl::Monitor::ErrorInfo::ErrorInfo ( )
inline

Definition at line 152 of file XrdClMonitor.hh.

152: file(0), status(0), opCode( ErrUnc ) {}
const XRootDStatus * status
Status code.
const URL * file
The file in question.
Operation opCode
The associated operation.

References ErrUnc, file, opCode, and status.

Member Data Documentation

◆ file

const URL* XrdCl::Monitor::ErrorInfo::file

The file in question.

Definition at line 153 of file XrdClMonitor.hh.

Referenced by ErrorInfo(), XrdCl::FileStateHandler::OnOpen(), and XrdCl::FileStateHandler::OnStateError().

◆ opCode

Operation XrdCl::Monitor::ErrorInfo::opCode

The associated operation.

Definition at line 155 of file XrdClMonitor.hh.

Referenced by ErrorInfo(), XrdCl::FileStateHandler::OnOpen(), and XrdCl::FileStateHandler::OnStateError().

◆ status

const XRootDStatus* XrdCl::Monitor::ErrorInfo::status

The documentation for this struct was generated from the following file: