xrootd
Loading...
Searching...
No Matches
Public Member Functions | List of all members
XrdOfsPrepare Class Referenceabstract

#include <XrdOfsPrepare.hh>

Public Member Functions

virtual int begin (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0)=0
 
virtual int cancel (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0)=0
 
virtual int query (XrdSfsPrep &pargs, XrdOucErrInfo &eInfo, const XrdSecEntity *client=0)=0
 
 XrdOfsPrepare ()
 Constructor.
 
virtual ~XrdOfsPrepare ()
 Destructor.
 

Constructor & Destructor Documentation

◆ XrdOfsPrepare()

XrdOfsPrepare::XrdOfsPrepare ( )
inline

Constructor.

◆ ~XrdOfsPrepare()

virtual XrdOfsPrepare::~XrdOfsPrepare ( )
inlinevirtual

Destructor.

Member Function Documentation

◆ begin()

virtual int XrdOfsPrepare::begin ( XrdSfsPrep pargs,
XrdOucErrInfo eInfo,
const XrdSecEntity client = 0 
)
pure virtual

Execute a prepare request.

Parameters
pargs- The prepare arguments (see XrdSfsInterface.hh).
eInfo- The object where error or data response is to be returned.
client- Client's identify (may be null).
Returns
One of SFS_OK, SFS_DATA, SFS_ERROR, SFS_REDIRECT, SFS_STALL, or SFS_STARTED.
Note
Special action taken with certain return codes:
  • SFS_DATA The data is sent to the client as the "requestID".
  • SFS_OK The data pointed to by pargs.reqid is sent to the client as the "requestID".

◆ cancel()

virtual int XrdOfsPrepare::cancel ( XrdSfsPrep pargs,
XrdOucErrInfo eInfo,
const XrdSecEntity client = 0 
)
pure virtual

Cancel a preveious prepare request.

Parameters
pargs- The prepare arguments (see XrdSfsInterface.hh). The pargs.reqid points to the "requestID" associated with the previously issued prepare request.
eInfo- The object where error or data response is to be returned.
client- Client's identify (may be null).
Returns
One of SFS_OK, SFS_ERROR, SFS_REDIRECT, SFS_STALL, or SFS_STARTED.

◆ query()

virtual int XrdOfsPrepare::query ( XrdSfsPrep pargs,
XrdOucErrInfo eInfo,
const XrdSecEntity client = 0 
)
pure virtual

Query a preveious prepare request.

Parameters
pargs- The prepare arguments (see XrdSfsInterface.hh). The pargs.reqid points to the "requestID" associated with the previously issued prepare request.
eInfo- The object where error or data response is to be returned.
client- Client's identify (may be null).
Returns
One of SFS_OK, SFS_ERROR, SFS_REDIRECT, or SFS_STALL.

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