Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

XrdClientAdmin Class Reference

#include <XrdClientAdmin.hh>

Inheritance diagram for XrdClientAdmin:

Inheritance graph
[legend]
Collaboration diagram for XrdClientAdmin:

Collaboration graph
[legend]
List of all members.

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)

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

Constructor & Destructor Documentation

XrdClientAdmin::XrdClientAdmin (  const char *  url  ) 
 

XrdClientAdmin::~XrdClientAdmin (   )  [virtual]
 


Member Function Documentation

bool XrdClientAdmin::CanRedirOnError (   )  [inline, protected, virtual]
 

Implements XrdClientAbs.

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

bool XrdClientAdmin::Connect (   ) 
 

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

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

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

bool XrdClientAdmin::ExistDirs (  vecString &  ,
vecBool & 
) 
 

bool XrdClientAdmin::ExistFiles (  vecString &  ,
vecBool & 
) 
 

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

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

void XrdClientAdmin::GoBackToRedirector (   ) 
 

bool XrdClientAdmin::IsFileOnline (  vecString &  ,
vecBool & 
) 
 

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

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

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

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

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

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

bool XrdClientAdmin::OpenFileWhenRedirected (  char *  ,
bool & 
)  [protected, virtual]
 

Implements XrdClientAbs.

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

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

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

Implements XrdClientAbsUnsolMsgHandler.

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

bool XrdClientAdmin::Rm (  const char *  file  ) 
 

bool XrdClientAdmin::Rmdir (  const char *  path  ) 
 

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

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

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

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


Member Data Documentation

XrdOucString XrdClientAdmin::fInitialUrl [private]
 


The documentation for this class was generated from the following files:
Generated on Sun Nov 6 13:41:54 2011 for xrootd by  doxygen 1.3.9.1