XrdBwmDirectory Class Reference

#include <XrdBwm.hh>

Inheritance diagram for XrdBwmDirectory:
Inheritance graph
[legend]
Collaboration diagram for XrdBwmDirectory:
Collaboration graph
[legend]

List of all members.

Public Member Functions

int open (const char *dirName, const XrdSecEntity *client, const char *opaque=0)
const char * nextEntry ()
int close ()
void copyError (XrdOucErrInfo &einfo)
const char * FName ()
 XrdBwmDirectory (const char *user, int monid)
virtual ~XrdBwmDirectory ()

Protected Attributes

const char * tident

Constructor & Destructor Documentation

XrdBwmDirectory::XrdBwmDirectory ( const char *  user,
int  monid 
) [inline]
virtual XrdBwmDirectory::~XrdBwmDirectory (  )  [inline, virtual]

Member Function Documentation

int XrdBwmDirectory::close (  )  [virtual]

Close the directory.

Returns:
One of SFS_OK or SFS_ERROR

Implements XrdSfsDirectory.

void XrdBwmDirectory::copyError ( XrdOucErrInfo einfo  )  [inline]
const char* XrdBwmDirectory::FName (  )  [inline, virtual]

Get the directory path.

Returns:
Null terminated string of the path used in open().

Implements XrdSfsDirectory.

const char* XrdBwmDirectory::nextEntry (  )  [virtual]

Get the next directory entry.

Returns:
A null terminated string with the directory name. Normally, "." ".." are not returned. If a null pointer is returned then if this is due to an error, error.code should contain errno. Otherwise, error.code should contain zero to indicate that no more entries exist (i.e. end of list).

Implements XrdSfsDirectory.

int XrdBwmDirectory::open ( const char *  path,
const XrdSecEntity client,
const char *  opaque = 0 
) [virtual]

Open a directory.

Parameters:
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).
Returns:
One of SFS_OK, SFS_ERROR, SFS_REDIRECT, ir SFS_STALL

Implements XrdSfsDirectory.


Member Data Documentation

const char* XrdBwmDirectory::tident [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 7 Jul 2020 for xrootd by  doxygen 1.6.1