XRootD
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. More...
 
Operation opCode
 The associated operation. More...
 
const XRootDStatusstatus
 Status code. More...
 

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.

143  {
144  ErrOpen = 0,
145  ErrRead,
146  ErrReadV,
147  ErrWrite,
148  ErrWriteV,
149  ErrUnc
150  };
@ ErrUnc
Unclassified operation.

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.

Member Data Documentation

◆ file

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

The file in question.

Definition at line 153 of file XrdClMonitor.hh.

Referenced by 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 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: