xrootd
Public Member Functions | Static Public Member Functions | Static Private Attributes
XrdXrootdPrepare Class Reference

#include <XrdXrootdPrepare.hh>

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

List of all members.

Public Member Functions

void DoIt ()
 XrdXrootdPrepare (XrdSysError *lp, XrdScheduler *sp)
 ~XrdXrootdPrepare ()

Static Public Member Functions

static int Close (int fd)
static int List (XrdXrootdPrepArgs &pargs, char *resp, int resplen)
static void Log (XrdXrootdPrepArgs &pargs)
static void Logdel (char *reqid)
static int Open (const char *reqid, int &fsz)
static void Scrub ()
static int setParms (int stime, int skeep)
static int setParms (char *ldir)

Static Private Attributes

static const char * TraceID = "Prepare"
static XrdSchedulerSchedP
static XrdSysErroreDest
static int scrubtime = 60*60
static int scrubkeep = 60*60*24
static char * LogDir = 0
static int LogDirLen = 0

Constructor & Destructor Documentation

XrdXrootdPrepare::XrdXrootdPrepare ( XrdSysError lp,
XrdScheduler sp 
)
XrdXrootdPrepare::~XrdXrootdPrepare ( ) [inline]

Member Function Documentation

static int XrdXrootdPrepare::Close ( int  fd) [inline, static]

References close.

void XrdXrootdPrepare::DoIt ( ) [inline, virtual]

Implements XrdJob.

References SchedP, XrdScheduler::Schedule(), Scrub(), and scrubtime.

int XrdXrootdPrepare::List ( XrdXrootdPrepArgs pargs,
char *  resp,
int  resplen 
) [static]
void XrdXrootdPrepare::Log ( XrdXrootdPrepArgs pargs) [static]
void XrdXrootdPrepare::Logdel ( char *  reqid) [static]
int XrdXrootdPrepare::Open ( const char *  reqid,
int &  fsz 
) [static]

References LogDir, LogDirLen, open(), and stat().

void XrdXrootdPrepare::Scrub ( ) [static]
int XrdXrootdPrepare::setParms ( int  stime,
int  skeep 
) [static]

References scrubkeep, and scrubtime.

Referenced by XrdXrootdProtocol::xprep().

int XrdXrootdPrepare::setParms ( char *  ldir) [static]

References access(), LogDir, LogDirLen, R_OK, stat(), W_OK, and X_OK.


Member Data Documentation

XrdSysError * XrdXrootdPrepare::eDest [static, private]
char * XrdXrootdPrepare::LogDir = 0 [static, private]
int XrdXrootdPrepare::LogDirLen = 0 [static, private]

Referenced by List(), Log(), Logdel(), Open(), Scrub(), and setParms().

Referenced by DoIt(), and XrdXrootdPrepare().

int XrdXrootdPrepare::scrubkeep = 60*60*24 [static, private]

Referenced by Scrub(), and setParms().

int XrdXrootdPrepare::scrubtime = 60*60 [static, private]

Referenced by DoIt(), setParms(), and XrdXrootdPrepare().

const char * XrdXrootdPrepare::TraceID = "Prepare" [static, private]

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