#include <TNetFile.h>
Inheritance diagram for TNetSystem:
Public Member Functions | |
TNetSystem (Bool_t ftpowner=kTRUE) | |
TNetSystem (const char *url, Bool_t ftpowner=kTRUE) | |
virtual | ~TNetSystem () |
Bool_t | ConsistentWith (const char *path, void *dirptr) |
Int_t | MakeDirectory (const char *name) |
void * | OpenDirectory (const char *name) |
void | FreeDirectory (void *dirp=0) |
const char * | GetDirEntry (void *dirp=0) |
Int_t | GetPathInfo (const char *path, FileStat_t &buf) |
Bool_t | AccessPathName (const char *path, EAccessMode mode) |
int | Unlink (const char *path) |
TNetSystem (Bool_t ftpowner=kTRUE) | |
TNetSystem (const char *url, Bool_t ftpowner=kTRUE) | |
virtual | ~TNetSystem () |
Bool_t | ConsistentWith (const char *path, void *dirptr) |
Int_t | MakeDirectory (const char *name) |
void * | OpenDirectory (const char *name) |
void | FreeDirectory (void *dirp=0) |
const char * | GetDirEntry (void *dirp=0) |
Int_t | GetPathInfo (const char *path, FileStat_t &buf) |
Bool_t | AccessPathName (const char *path, EAccessMode mode) |
int | Unlink (const char *path) |
Protected Member Functions | |
void | Create (const char *url, TSocket *sock=0) |
void | InitRemoteEntity (const char *url) |
void | Create (const char *url, TSocket *sock=0) |
void | InitRemoteEntity (const char *url) |
Protected Attributes | |
Bool_t | fIsLocal |
TString | fLocalPrefix |
Private Member Functions | |
TNetSystem (const TNetSystem &) | |
TNetSystem & | operator= (const TNetSystem &) |
void * | GetDirPtr () const |
TNetSystem (const TNetSystem &) | |
TNetSystem & | operator= (const TNetSystem &) |
void * | GetDirPtr () const |
Private Attributes | |
Bool_t | fDir |
void * | fDirp |
TFTP * | fFTP |
TString | fHost |
Bool_t | fFTPOwner |
TString | fUser |
Int_t | fPort |
void * | fDirp |
TFTP * | fFTP |
Definition at line 95 of file TNetFile.h.
TNetSystem::TNetSystem | ( | const TNetSystem & | ) | [private] |
Definition at line 831 of file TNetFile.cxx.
References Create(), fFTPOwner, fIsLocal, kFALSE, and TNamed::SetName().
TNetSystem::~TNetSystem | ( | ) | [virtual] |
TNetSystem::TNetSystem | ( | const TNetSystem & | ) | [private] |
virtual TNetSystem::~TNetSystem | ( | ) | [virtual] |
TNetSystem& TNetSystem::operator= | ( | const TNetSystem & | ) | [private] |
void* TNetSystem::GetDirPtr | ( | ) | const [inline, private, virtual] |
void TNetSystem::Create | ( | const char * | url, | |
TSocket * | sock = 0 | |||
) | [protected] |
Definition at line 872 of file TNetFile.cxx.
References TFTP::Close(), TString::Contains(), TObject::Error(), fDir, fDirp, fFTP, fFTPOwner, fHost, fIsLocal, fLocalPrefix, fUser, gEnv, TSecContext::GetHost(), TROOT::GetListOfSockets(), TUrl::GetPort(), TUrl::GetProtocol(), TSocket::GetRemoteProtocol(), TSocket::GetSecContext(), TFTP::GetSocket(), TSecContext::GetUser(), TUrl::GetUser(), TEnv::GetValue(), gROOT, TString::Index(), InitRemoteEntity(), TString::Insert(), TFTP::IsOpen(), TSystem::IsPathLocal(), TFTP::kDfltWindowSize, kFALSE, kTRUE, TString::Length(), opts, and TCollection::Remove().
Referenced by TXNetSystem::Connect(), and TNetSystem().
void TNetSystem::InitRemoteEntity | ( | const char * | url | ) | [protected] |
Definition at line 848 of file TNetFile.cxx.
References fHost, fPort, fUser, TUrl::GetHostFQDN(), TUrl::GetPort(), TUrl::GetUser(), TSystem::GetUserInfo(), gSystem, TString::Length(), and u.
Referenced by Create(), and TXNetSystem::TXNetSystem().
Bool_t TNetSystem::ConsistentWith | ( | const char * | path, | |
void * | dirptr | |||
) | [virtual] |
Reimplemented from TSystem.
Definition at line 1124 of file TNetFile.cxx.
References TSystem::ConsistentWith(), fHost, fPort, fUser, TUrl::GetHostFQDN(), TUrl::GetPort(), TUrl::GetUser(), TSystem::GetUserInfo(), gSystem, kFALSE, kTRUE, TString::Length(), XrdMonCtrCollector::port, and u.
Referenced by TXNetSystem::ConsistentWith().
Int_t TNetSystem::MakeDirectory | ( | const char * | name | ) | [virtual] |
Reimplemented from TSystem.
Definition at line 974 of file TNetFile.cxx.
References fFTP, fIsLocal, fLocalPrefix, gSystem, TString::Insert(), TString::IsNull(), TFTP::IsOpen(), kFALSE, TFTP::MakeDirectory(), and TSystem::MakeDirectory().
Referenced by TXNetSystem::MakeDirectory().
void * TNetSystem::OpenDirectory | ( | const char * | name | ) | [virtual] |
Reimplemented from TSystem.
Definition at line 995 of file TNetFile.cxx.
References fDir, fDirp, fFTP, fIsLocal, fLocalPrefix, TFTP::FreeDirectory(), gDebug, gSystem, TObject::Info(), TString::Insert(), TString::IsNull(), TFTP::IsOpen(), kFALSE, kTRUE, TFTP::OpenDirectory(), and TSystem::OpenDirectory().
Referenced by TXNetSystem::OpenDirectory().
void TNetSystem::FreeDirectory | ( | void * | dirp = 0 |
) | [virtual] |
Reimplemented from TSystem.
Definition at line 1030 of file TNetFile.cxx.
References TObject::Error(), fDir, fDirp, fFTP, fIsLocal, TFTP::FreeDirectory(), TSystem::FreeDirectory(), gSystem, TFTP::IsOpen(), and kFALSE.
Referenced by TXNetSystem::FreeDirectory().
const char * TNetSystem::GetDirEntry | ( | void * | dirp = 0 |
) | [virtual] |
Reimplemented from TSystem.
Definition at line 1055 of file TNetFile.cxx.
References TObject::Error(), fDir, fDirp, fFTP, fIsLocal, TSystem::GetDirEntry(), TFTP::GetDirEntry(), gSystem, TFTP::IsOpen(), and kFALSE.
Referenced by TXNetSystem::GetDirEntry().
Int_t TNetSystem::GetPathInfo | ( | const char * | path, | |
FileStat_t & | buf | |||
) | [virtual] |
Reimplemented from TSystem.
Definition at line 1076 of file TNetFile.cxx.
References buf, fFTP, fIsLocal, fLocalPrefix, TFTP::GetPathInfo(), TSystem::GetPathInfo(), gSystem, TString::Insert(), TString::IsNull(), TFTP::IsOpen(), and kFALSE.
Referenced by TXNetSystem::GetPathInfo().
Bool_t TNetSystem::AccessPathName | ( | const char * | path, | |
EAccessMode | mode | |||
) | [virtual] |
Reimplemented from TSystem.
Definition at line 1101 of file TNetFile.cxx.
References TFTP::AccessPathName(), TSystem::AccessPathName(), fFTP, fIsLocal, fLocalPrefix, gSystem, TString::Insert(), TString::IsNull(), TFTP::IsOpen(), kFALSE, and kTRUE.
Referenced by TXNetSystem::AccessPathName().
Int_t TNetSystem::Unlink | ( | const char * | path | ) | [virtual] |
Reimplemented from TSystem.
Definition at line 1161 of file TNetFile.cxx.
References fIsLocal, fLocalPrefix, gSystem, TString::Insert(), TString::IsNull(), TSystem::Unlink(), and TObject::Warning().
TNetSystem& TNetSystem::operator= | ( | const TNetSystem & | ) | [private] |
void* TNetSystem::GetDirPtr | ( | ) | const [inline, private, virtual] |
void TNetSystem::Create | ( | const char * | url, | |
TSocket * | sock = 0 | |||
) | [protected] |
void TNetSystem::InitRemoteEntity | ( | const char * | url | ) | [protected] |
Bool_t TNetSystem::ConsistentWith | ( | const char * | path, | |
void * | dirptr | |||
) | [virtual] |
Reimplemented from TSystem.
void* TNetSystem::OpenDirectory | ( | const char * | name | ) | [virtual] |
Reimplemented from TSystem.
void TNetSystem::FreeDirectory | ( | void * | dirp = 0 |
) | [virtual] |
Reimplemented from TSystem.
const char* TNetSystem::GetDirEntry | ( | void * | dirp = 0 |
) | [virtual] |
Reimplemented from TSystem.
Int_t TNetSystem::GetPathInfo | ( | const char * | path, | |
FileStat_t & | buf | |||
) | [virtual] |
Reimplemented from TSystem.
Bool_t TNetSystem::AccessPathName | ( | const char * | path, | |
EAccessMode | mode | |||
) | [virtual] |
Reimplemented from TSystem.
int TNetSystem::Unlink | ( | const char * | path | ) | [virtual] |
Reimplemented from TSystem.
Bool_t TNetSystem::fDir [private] |
Definition at line 98 of file TNetFile.h.
Referenced by Create(), FreeDirectory(), GetDirEntry(), OpenDirectory(), TNetSystem(), and ~TNetSystem().
void* TNetSystem::fDirp [private] |
Definition at line 99 of file TNetFile.h.
Referenced by Create(), FreeDirectory(), GetDirEntry(), GetDirPtr(), OpenDirectory(), TNetSystem(), and ~TNetSystem().
TFTP* TNetSystem::fFTP [private] |
Definition at line 100 of file TNetFile.h.
Referenced by AccessPathName(), Create(), FreeDirectory(), GetDirEntry(), GetPathInfo(), MakeDirectory(), OpenDirectory(), TNetSystem(), and ~TNetSystem().
TString TNetSystem::fHost [private] |
Definition at line 101 of file TNetFile.h.
Referenced by ConsistentWith(), Create(), InitRemoteEntity(), and TNetSystem().
Bool_t TNetSystem::fFTPOwner [private] |
TString TNetSystem::fUser [private] |
Definition at line 103 of file TNetFile.h.
Referenced by ConsistentWith(), Create(), InitRemoteEntity(), and TNetSystem().
Int_t TNetSystem::fPort [private] |
Definition at line 104 of file TNetFile.h.
Referenced by ConsistentWith(), InitRemoteEntity(), and TNetSystem().
Bool_t TNetSystem::fIsLocal [protected] |
Definition at line 112 of file TNetFile.h.
Referenced by AccessPathName(), Create(), FreeDirectory(), GetDirEntry(), GetPathInfo(), MakeDirectory(), OpenDirectory(), TNetSystem(), and Unlink().
TString TNetSystem::fLocalPrefix [protected] |
Definition at line 113 of file TNetFile.h.
Referenced by AccessPathName(), Create(), GetPathInfo(), MakeDirectory(), OpenDirectory(), and Unlink().
void* TNetSystem::fDirp [private] |
Definition at line 99 of file TNetFile.h.
TFTP* TNetSystem::fFTP [private] |
Definition at line 100 of file TNetFile.h.