xrootd
|
#include <XrdSfsInterface.hh>
Public Member Functions | |
virtual int | open (const char *path, const XrdSecEntity *client=0, const char *opaque=0)=0 |
virtual const char * | nextEntry ()=0 |
virtual int | close ()=0 |
virtual const char * | FName ()=0 |
virtual int | autoStat (struct stat *buf) |
XrdSfsDirectory (const char *user=0, int MonID=0) | |
XrdSfsDirectory (XrdSfsDirectory &wrapD) | |
XrdSfsDirectory (XrdOucErrInfo &eInfo) | |
virtual | ~XrdSfsDirectory () |
Destructor. More... | |
Public Attributes | |
XrdOucErrInfo & | error |
Private Attributes | |
XrdOucErrInfo * | lclEI |
The XrdSfsDirectory object is returned by XrdSfsFileSystem::newFile() when the caller wants to be able to perform directory oriented operations.
|
inline |
Constructor (user and MonID are the ones passed to newDir()!). This constructor should only be used by base plugins. Plugins that wrap an SfsDirectory should use the second version of the constructor shown below.
user | - Text identifying the client responsible for this call. The pointer may be null if identification is missing. |
MonID | - The monitoring identifier assigned to this and all future requests using the returned object. |
|
inline |
Constructor for plugins that wrap another SfsDirectory. This constructor inherits the error object from a wrapped SfsDirectory object so that only one identical error object exists for all directory objects in the chain.
wrapD | - Reference to the directory object being wrapped. |
|
inline |
Constructor for base plugins that predefined an error object. This is a convenience constructor for base plugins only.
eInfo | - Reference to the error object to use. |
|
inlinevirtual |
Destructor.
References lclEI.
|
virtual |
Set the stat() buffer where stat information is to be placed corresponding to the directory entry returned by nextEntry().
Reimplemented in XrdOfsDirectory, XrdDigDirectory, and XrdSsiDir.
|
pure virtual |
Close the directory.
Implemented in XrdOfsDirectory, XrdBwmDirectory, XrdDigDirectory, XrdSfsNativeDirectory, and XrdSsiDir.
|
pure virtual |
Get the directory path.
Implemented in XrdOfsDirectory, XrdBwmDirectory, XrdDigDirectory, XrdSfsNativeDirectory, and XrdSsiDir.
|
pure virtual |
Get the next directory entry.
Implemented in XrdOfsDirectory, XrdBwmDirectory, XrdDigDirectory, XrdSfsNativeDirectory, and XrdSsiDir.
|
pure virtual |
Open a directory.
path | - Pointer to the path of the directory to be opened. |
client | - Client's identify (see common description). |
opaque | - path's CGI information (see common description). |
Implemented in XrdOfsDirectory, XrdBwmDirectory, and XrdSsiDir.
XrdOucErrInfo& XrdSfsDirectory::error |
The error object is used to return details whenever something other than SFS_OK is returned from the methods in this class, when noted.
Referenced by XrdSsiDir::copyError(), XrdBwmDirectory::copyError(), XrdOfsDirectory::copyError(), and XrdSfsDirectory().
|
private |
Referenced by XrdSfsDirectory(), and ~XrdSfsDirectory().