xrootd
Classes | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
XrdClientAdmin Class Reference

#include <XrdClientAdmin.hh>

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

Classes

struct  DirListInfo
 

Public Member Functions

 XrdClientAdmin (const char *url)
 
virtual ~XrdClientAdmin ()
 
bool Connect ()
 
bool SysStatX (const char *paths_list, kXR_char *binInfo)
 
bool Stat (const char *fname, long &id, long long &size, long &flags, long &modtime)
 
bool Stat_vfs (const char *fname, int &rwservers, long long &rwfree, int &rwutil, int &stagingservers, long long &stagingfree, int &stagingutil)
 
bool DirList (const char *dir, vecString &entries, bool askallservers=false)
 
bool DirList (const char *dir, XrdClientVector< DirListInfo > &dirlistinfo, bool askallservers=false)
 
bool ExistFiles (vecString &, vecBool &)
 
bool ExistDirs (vecString &, vecBool &)
 
bool GetSpaceInfo (const char *logicalname, long long &totspace, long long &totfree, long long &totused, long long &largestchunk)
 
long GetChecksum (kXR_char *path, kXR_char **chksum)
 
void GoBackToRedirector ()
 
bool IsFileOnline (vecString &, vecBool &)
 
bool Mv (const char *fileSrc, const char *fileDest)
 
bool Mkdir (const char *dir, int user, int group, int other)
 
bool Chmod (const char *file, int user, int group, int other)
 
bool Rm (const char *file)
 
bool Rmdir (const char *path)
 
bool Protocol (kXR_int32 &proto, kXR_int32 &kind)
 
bool Prepare (vecString vs, kXR_char opts, kXR_char prty)
 
bool Prepare (const char *paths, kXR_char opts, kXR_char prty)
 
bool Locate (kXR_char *path, XrdClientLocate_Info &resp, bool writable=false)
 
bool Locate (kXR_char *path, XrdClientVector< XrdClientLocate_Info > &hosts)
 
bool Locate (kXR_char *path, XrdClientVector< XrdClientLocate_Info > &hosts, int opts)
 
bool Truncate (const char *path, long long newsize)
 
UnsolRespProcResult ProcessUnsolicitedMsg (XrdClientUnsolMsgSender *sender, XrdClientMessage *unsolmsg)
 
- Public Member Functions inherited from XrdClientAbs
 XrdClientAbs (XrdClientCallback *XrdCcb=0, void *XrdCcbArg=0)
 
virtual bool IsOpen_wait ()
 
void SetParm (const char *parm, int val)
 
void SetParm (const char *parm, double val)
 
XrdClientConnGetClientConn () const
 
XrdClientUrlInfo GetCurrentUrl ()
 
struct ServerResponseHeaderLastServerResp ()
 
struct ServerResponseBody_ErrorLastServerError ()
 
bool Query (kXR_int16 ReqCode, const kXR_char *Args, kXR_char *Resp, kXR_int32 MaxResplen)
 
bool Query (kXR_int16 ReqCode, const kXR_char *Args, kXR_char **Resp, kXR_int32 MaxResplen)
 
- Public Member Functions inherited from XrdClientAbsUnsolMsgHandler
virtual ~XrdClientAbsUnsolMsgHandler ()
 

Protected Member Functions

bool CanRedirOnError ()
 
bool OpenFileWhenRedirected (char *, bool &)
 

Private Member Functions

bool DirList_low (const char *dir, vecString &entries)
 
int LocalLocate (kXR_char *path, XrdClientVector< XrdClientLocate_Info > &res, bool writable, int opts, bool all=false)
 

Private Attributes

XrdOucString fInitialUrl
 

Additional Inherited Members

- Protected Attributes inherited from XrdClientAbs
XrdClientConnfConnModule
 
char fHandle [4]
 
XrdClientCallback * fXrdCcb
 
void * fXrdCcbArg
 

Constructor & Destructor Documentation

◆ XrdClientAdmin()

XrdClientAdmin::XrdClientAdmin ( const char *  url)

◆ ~XrdClientAdmin()

virtual XrdClientAdmin::~XrdClientAdmin ( )
virtual

Member Function Documentation

◆ CanRedirOnError()

bool XrdClientAdmin::CanRedirOnError ( )
inlineprotectedvirtual

Implements XrdClientAbs.

◆ Chmod()

bool XrdClientAdmin::Chmod ( const char *  file,
int  user,
int  group,
int  other 
)

◆ Connect()

bool XrdClientAdmin::Connect ( )

◆ DirList() [1/2]

bool XrdClientAdmin::DirList ( const char *  dir,
vecString entries,
bool  askallservers = false 
)

◆ DirList() [2/2]

bool XrdClientAdmin::DirList ( const char *  dir,
XrdClientVector< DirListInfo > &  dirlistinfo,
bool  askallservers = false 
)

◆ DirList_low()

bool XrdClientAdmin::DirList_low ( const char *  dir,
vecString entries 
)
private

◆ ExistDirs()

bool XrdClientAdmin::ExistDirs ( vecString ,
vecBool  
)

◆ ExistFiles()

bool XrdClientAdmin::ExistFiles ( vecString ,
vecBool  
)

◆ GetChecksum()

long XrdClientAdmin::GetChecksum ( kXR_char path,
kXR_char **  chksum 
)

◆ GetSpaceInfo()

bool XrdClientAdmin::GetSpaceInfo ( const char *  logicalname,
long long &  totspace,
long long &  totfree,
long long &  totused,
long long &  largestchunk 
)

◆ GoBackToRedirector()

void XrdClientAdmin::GoBackToRedirector ( )

◆ IsFileOnline()

bool XrdClientAdmin::IsFileOnline ( vecString ,
vecBool  
)

◆ LocalLocate()

int XrdClientAdmin::LocalLocate ( kXR_char path,
XrdClientVector< XrdClientLocate_Info > &  res,
bool  writable,
int  opts,
bool  all = false 
)
private

◆ Locate() [1/3]

bool XrdClientAdmin::Locate ( kXR_char path,
XrdClientLocate_Info resp,
bool  writable = false 
)

◆ Locate() [2/3]

bool XrdClientAdmin::Locate ( kXR_char path,
XrdClientVector< XrdClientLocate_Info > &  hosts 
)
inline

◆ Locate() [3/3]

bool XrdClientAdmin::Locate ( kXR_char path,
XrdClientVector< XrdClientLocate_Info > &  hosts,
int  opts 
)

◆ Mkdir()

bool XrdClientAdmin::Mkdir ( const char *  dir,
int  user,
int  group,
int  other 
)

◆ Mv()

bool XrdClientAdmin::Mv ( const char *  fileSrc,
const char *  fileDest 
)

◆ OpenFileWhenRedirected()

bool XrdClientAdmin::OpenFileWhenRedirected ( char *  ,
bool &   
)
protectedvirtual

Implements XrdClientAbs.

◆ Prepare() [1/2]

bool XrdClientAdmin::Prepare ( vecString  vs,
kXR_char  opts,
kXR_char  prty 
)

◆ Prepare() [2/2]

bool XrdClientAdmin::Prepare ( const char *  paths,
kXR_char  opts,
kXR_char  prty 
)

◆ ProcessUnsolicitedMsg()

UnsolRespProcResult XrdClientAdmin::ProcessUnsolicitedMsg ( XrdClientUnsolMsgSender sender,
XrdClientMessage *  unsolmsg 
)
virtual

◆ Protocol()

bool XrdClientAdmin::Protocol ( kXR_int32 proto,
kXR_int32 kind 
)

◆ Rm()

bool XrdClientAdmin::Rm ( const char *  file)

◆ Rmdir()

bool XrdClientAdmin::Rmdir ( const char *  path)

◆ Stat()

bool XrdClientAdmin::Stat ( const char *  fname,
long &  id,
long long &  size,
long &  flags,
long &  modtime 
)

◆ Stat_vfs()

bool XrdClientAdmin::Stat_vfs ( const char *  fname,
int &  rwservers,
long long &  rwfree,
int &  rwutil,
int &  stagingservers,
long long &  stagingfree,
int &  stagingutil 
)

◆ SysStatX()

bool XrdClientAdmin::SysStatX ( const char *  paths_list,
kXR_char binInfo 
)

◆ Truncate()

bool XrdClientAdmin::Truncate ( const char *  path,
long long  newsize 
)

Member Data Documentation

◆ fInitialUrl

XrdOucString XrdClientAdmin::fInitialUrl
private

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