Definition at line 49 of file TXNetSystem.h.
Public Member Functions | |
TXNetSystem (Bool_t owner=kTRUE) | |
Create system management class without connecting to server. | |
TXNetSystem (const char *url, Bool_t owner=kTRUE) | |
Create system management class and connect to server specified by url. | |
virtual | ~TXNetSystem () |
Bool_t | AccessPathName (const char *path, EAccessMode mode) |
Returns FALSE if one can access a file using the specified access mode. | |
virtual Bool_t | ConsistentWith (const char *path, void *dirptr) |
Check consistency of this helper with the one required by 'path' or 'dirptr'. | |
virtual void | FreeDirectory (void *dirp) |
Free(Close) the directory referenced by dirp. | |
virtual const char * | GetDirEntry (void *dirp) |
Get directory entry for directory referenced by dirp. | |
virtual Int_t | GetPathInfo (const char *path, FileStat_t &buf) |
Get info about a file. | |
Bool_t | GetPathsInfo (const char *paths, UChar_t *info) |
Retrieve status of a ' '-separated list of files in 'paths'. | |
virtual TClass * | IsA () const |
Bool_t | IsOnline (const char *path) |
Check if the file defined by 'path' is ready to be used. | |
virtual Bool_t | IsPathLocal (const char *path) |
Returns TRUE if the url in 'path' points to the local file system. | |
virtual Int_t | Locate (const char *path, TString &endurl) |
Get end-point url of a file. | |
virtual Int_t | MakeDirectory (const char *dir) |
Create a directory. Return 0 on success, -1 otherwise. | |
virtual void * | OpenDirectory (const char *dir) |
Open a directory. | |
Bool_t | Prepare (const char *path, UChar_t opt=8, UChar_t prio=0) |
Issue a prepare request for file defined by 'path'. | |
Int_t | Prepare (TCollection *paths, UChar_t opt=8, UChar_t prio=0, TString *buf=0) |
Issue a prepare request for a list of files defined by 'paths', which must be of one of the following types: TFileInfo, TUrl, TObjString. | |
virtual void | Streamer (TBuffer &) |
Stream an object of class TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual int | Unlink (const char *path) |
Unlink 'path' on the remote server system. | |
Public Member Functions inherited from TNetSystem | |
TNetSystem (Bool_t ftpowner=kTRUE) | |
Create helper class that allows directory access via rootd. | |
TNetSystem (const char *url, Bool_t ftpowner=kTRUE) | |
Create helper class that allows directory access via rootd. | |
virtual | ~TNetSystem () |
Destructor. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TSystem | |
TSystem (const char *name="Generic", const char *title="Generic System") | |
Create a new OS interface. | |
virtual | ~TSystem () |
Delete the OS interface. | |
virtual void | Abort (int code=0) |
Abort the application. | |
virtual int | AcceptConnection (int sock) |
Accept a connection. | |
virtual void | AddDynamicPath (const char *pathname) |
Add a new directory to the dynamic path. | |
virtual void | AddFileHandler (TFileHandler *fh) |
Add a file handler to the list of system file handlers. | |
virtual void | AddIncludePath (const char *includePath) |
Add a directory to the already set include path. | |
virtual void | AddLinkedLibs (const char *linkedLib) |
Add linkedLib to already set linked libs. | |
virtual void | AddSignalHandler (TSignalHandler *sh) |
Add a signal handler to list of system signal handlers. | |
virtual void | AddStdExceptionHandler (TStdExceptionHandler *eh) |
Add an exception handler to list of system exception handlers. | |
virtual void | AddTimer (TTimer *t) |
Add timer to list of system timers. | |
virtual int | AnnounceTcpService (int port, Bool_t reuse, int backlog, int tcpwindowsize=-1) |
Announce TCP/IP service. | |
virtual int | AnnounceUdpService (int port, int backlog) |
Announce UDP service. | |
virtual int | AnnounceUnixService (const char *sockpath, int backlog) |
Announce unix domain service. | |
virtual int | AnnounceUnixService (int port, int backlog) |
Announce unix domain service. | |
virtual const char * | BaseName (const char *pathname) |
Base name of a file name. Base name of /user/root is root. | |
void | Beep (Int_t freq=-1, Int_t duration=-1, Bool_t setDefault=kFALSE) |
Beep for duration milliseconds with a tone of frequency freq. | |
Bool_t | cd (const char *path) |
virtual Bool_t | ChangeDirectory (const char *path) |
Change directory. | |
virtual int | Chmod (const char *file, UInt_t mode) |
Set the file permission bits. Returns -1 in case or error, 0 otherwise. | |
virtual void | CleanCompiledMacros () |
Remove the shared libs produced by the CompileMacro() function. | |
virtual void | CloseConnection (int sock, Bool_t force=kFALSE) |
Close socket connection. | |
virtual void | Closelog () |
Close connection to system log daemon. | |
virtual int | ClosePipe (FILE *pipe) |
Close the pipe. | |
virtual int | CompileMacro (const char *filename, Option_t *opt="", const char *library_name="", const char *build_dir="", UInt_t dirmode=0) |
This method compiles and loads a shared library containing the code from the file "filename". | |
virtual char * | ConcatFileName (const char *dir, const char *name) |
Concatenate a directory and a file name. User must delete returned string. | |
virtual int | CopyFile (const char *from, const char *to, Bool_t overwrite=kFALSE) |
Copy a file. | |
virtual const char * | DirName (const char *pathname) |
Return the directory name in pathname. | |
virtual void | DispatchOneEvent (Bool_t pendingOnly=kFALSE) |
Dispatch a single event. | |
char * | DynamicPathName (const char *lib, Bool_t quiet=kFALSE) |
Find a dynamic library called lib using the system search paths. | |
virtual Func_t | DynFindSymbol (const char *module, const char *entry) |
Find specific entry point in specified library. | |
virtual Int_t | Exec (const char *shellcmd) |
Execute a command. | |
virtual void | Exit (int code, Bool_t mode=kTRUE) |
Exit the application. | |
virtual void | ExitLoop () |
Exit from event loop. | |
virtual char * | ExpandPathName (const char *path) |
Expand a pathname getting rid of special shell characters like ~. | |
virtual Bool_t | ExpandPathName (TString &path) |
Expand a pathname getting rid of special shell characters like ~. | |
virtual const char * | FindDynamicLibrary (TString &lib, Bool_t quiet=kFALSE) |
Find a dynamic library using the system search paths. | |
virtual const char * | FindFile (const char *search, TString &file, EAccessMode mode=kFileExists) |
Find location of file in a search path. | |
virtual EAclicMode | GetAclicMode () const |
AclicMode indicates whether the library should be built in debug mode or optimized. | |
virtual Int_t | GetAclicProperties () const |
Return the ACLiC properties field. | |
void | GetBeepDefaults (Int_t &freq, Int_t &duration) const |
virtual const char * | GetBuildArch () const |
Return the build architecture. | |
virtual const char * | GetBuildCompiler () const |
Return the build compiler. | |
virtual const char * | GetBuildCompilerVersion () const |
Return the build compiler version. | |
virtual const char * | GetBuildCompilerVersionStr () const |
Return the build compiler version identifier string. | |
virtual const char * | GetBuildDir () const |
Return the path of the build directory. | |
virtual const char * | GetBuildNode () const |
Return the build node name. | |
virtual int | GetCpuInfo (CpuInfo_t *info, Int_t sampleTime=1000) const |
Returns cpu load average and load info into the CpuInfo_t structure. | |
virtual TString | GetDirName (const char *pathname) |
Return the directory name in pathname. | |
virtual const char * | GetDynamicPath () |
Return the dynamic path (used to find shared libraries). | |
virtual Int_t | GetEffectiveGid () |
Returns the effective group id. | |
virtual Int_t | GetEffectiveUid () |
Returns the effective user id. | |
virtual const char * | Getenv (const char *env) |
Get environment variable. | |
virtual const char * | GetError () |
Return system error string. | |
const char * | GetErrorStr () const |
virtual const char * | GetFlagsDebug () const |
Return the debug flags. | |
virtual const char * | GetFlagsOpt () const |
Return the optimization flags. | |
virtual Int_t | GetFPEMask () |
Return the bitmap of conditions that trigger a floating point exception. | |
virtual TString | GetFromPipe (const char *command) |
Execute command and return output in TString. | |
virtual int | GetFsInfo (const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree) |
Get info about a file system: fs type, block size, number of blocks, number of free blocks. | |
virtual Int_t | GetGid (const char *group=nullptr) |
Returns the group's id. If group = 0, returns current user's group. | |
virtual UserGroup_t * | GetGroupInfo (const char *group=nullptr) |
Returns all group info in the UserGroup_t structure. | |
virtual UserGroup_t * | GetGroupInfo (Int_t gid) |
Returns all group info in the UserGroup_t structure. | |
virtual std::string | GetHomeDirectory (const char *userName=nullptr) const |
Return the user's home directory. | |
virtual TInetAddress | GetHostByName (const char *server) |
Get Internet Protocol (IP) address of host. | |
virtual const char * | GetIncludePath () |
Get the list of include path. | |
virtual const char * | GetLibraries (const char *regexp="", const char *option="", Bool_t isRegexp=kTRUE) |
Return a space separated list of loaded shared libraries. | |
virtual const char * | GetLinkdefSuffix () const |
Return the linkdef suffix chosen by the user for ACLiC. | |
virtual const char * | GetLinkedLibs () const |
Return the list of library linked to this executable. | |
virtual TSeqCollection * | GetListOfFileHandlers () const |
virtual TSeqCollection * | GetListOfSignalHandlers () const |
virtual TSeqCollection * | GetListOfStdExceptionHandlers () const |
virtual TList * | GetListOfTimers () const |
virtual const char * | GetMakeExe () const |
Return the command line use to make an executable. | |
virtual const char * | GetMakeSharedLib () const |
Return the command line use to make a shared library. | |
virtual int | GetMemInfo (MemInfo_t *info) const |
Returns ram and swap memory usage info into the MemInfo_t structure. | |
virtual const char * | GetObjExt () const |
Get the object file extension. | |
int | GetPathInfo (const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime) |
Get info about a file: id, size, flags, modification time. | |
int | GetPathInfo (const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime) |
Get info about a file: id, size, flags, modification time. | |
virtual TInetAddress | GetPeerName (int sock) |
Get Internet Protocol (IP) address of remote host and port #. | |
virtual int | GetPid () |
Get process id. | |
virtual int | GetProcInfo (ProcInfo_t *info) const |
Returns cpu and memory used by this process into the ProcInfo_t structure. | |
virtual int | GetServiceByName (const char *service) |
Get port # of internet service. | |
virtual char * | GetServiceByPort (int port) |
Get name of internet service. | |
virtual TInetAddress | GetSockName (int sock) |
Get Internet Protocol (IP) address of host and port #. | |
virtual int | GetSockOpt (int sock, int kind, int *val) |
Get socket option. | |
virtual const char * | GetSoExt () const |
Get the shared library extension. | |
virtual int | GetSysInfo (SysInfo_t *info) const |
Returns static system info, like OS type, CPU type, number of CPUs RAM size, etc into the SysInfo_t structure. | |
virtual Int_t | GetUid (const char *user=nullptr) |
Returns the user's id. If user = 0, returns current user's id. | |
virtual UserGroup_t * | GetUserInfo (const char *user=nullptr) |
Returns all user info in the UserGroup_t structure. | |
virtual UserGroup_t * | GetUserInfo (Int_t uid) |
Returns all user info in the UserGroup_t structure. | |
virtual TList * | GetVolumes (Option_t *) const |
virtual std::string | GetWorkingDirectory () const |
Return working directory. | |
virtual const char * | HomeDirectory (const char *userName=nullptr) |
Return the user's home directory. | |
virtual const char * | HostName () |
Return the system's host name. | |
virtual void | IgnoreInterrupt (Bool_t ignore=kTRUE) |
If ignore is true ignore the interrupt signal, else restore previous behaviour. | |
virtual void | IgnoreSignal (ESignals sig, Bool_t ignore=kTRUE) |
If ignore is true ignore the specified signal, else restore previous behaviour. | |
Bool_t | InControl () const |
virtual Bool_t | Init () |
Initialize the OS interface. | |
virtual void | InnerLoop () |
Inner event loop. | |
virtual Bool_t | IsAbsoluteFileName (const char *dir) |
Return true if dir is an absolute pathname. | |
virtual Bool_t | IsFileInIncludePath (const char *name, char **fullpath=nullptr) |
Return true if 'name' is a file that can be found in the ROOT include path or the current directory. | |
virtual int | Link (const char *from, const char *to) |
Create a link from file1 to file2. | |
virtual void | ListLibraries (const char *regexp="") |
List the loaded shared libraries. | |
virtual void | ListSymbols (const char *module, const char *re="") |
List symbols in a shared library. | |
virtual int | Load (const char *module, const char *entry="", Bool_t system=kFALSE) |
Load a shared library. | |
virtual UInt_t | LoadAllLibraries () |
Load all libraries known to ROOT via the rootmap system. | |
virtual int | mkdir (const char *name, Bool_t recursive=kFALSE) |
Make a file system directory. | |
virtual Long_t | NextTimeOut (Bool_t mode) |
Time when next timer of mode (synchronous=kTRUE or asynchronous=kFALSE) will time-out (in ms). | |
virtual void | NotifyApplicationCreated () |
Hook to tell TSystem that the TApplication object has been created. | |
virtual TTime | Now () |
Get current time in milliseconds since 0:00 Jan 1 1995. | |
virtual int | OpenConnection (const char *server, int port, int tcpwindowsize=-1, const char *protocol="tcp") |
Open a connection to another host. | |
virtual void | Openlog (const char *name, Int_t options, ELogFacility facility) |
Open connection to system log daemon. | |
virtual FILE * | OpenPipe (const char *command, const char *mode) |
Open a pipe. | |
virtual const char * | PrependPathName (const char *dir, TString &name) |
Concatenate a directory and a file name. | |
virtual Bool_t | ProcessEvents () |
Process pending events (GUI, timers, sockets). | |
const char * | pwd () |
virtual int | RecvBuf (int sock, void *buffer, int length) |
Receive a buffer headed by a length indicator. | |
virtual int | RecvRaw (int sock, void *buffer, int length, int flag) |
Receive exactly length bytes into buffer. | |
virtual Int_t | RedirectOutput (const char *name, const char *mode="a", RedirectHandle_t *h=nullptr) |
Redirect standard output (stdout, stderr) to the specified file. | |
virtual TFileHandler * | RemoveFileHandler (TFileHandler *fh) |
Remove a file handler from the list of file handlers. | |
void | RemoveOnExit (TObject *obj) |
Objects that should be deleted on exit of the OS interface. | |
virtual TSignalHandler * | RemoveSignalHandler (TSignalHandler *sh) |
Remove a signal handler from list of signal handlers. | |
virtual TStdExceptionHandler * | RemoveStdExceptionHandler (TStdExceptionHandler *eh) |
Remove an exception handler from list of exception handlers. | |
virtual TTimer * | RemoveTimer (TTimer *t) |
Remove timer from list of system timers. | |
virtual int | Rename (const char *from, const char *to) |
Rename a file. | |
virtual void | ResetSignal (ESignals sig, Bool_t reset=kTRUE) |
If reset is true reset the signal handler for the specified signal to the default handler, else restore previous behaviour. | |
virtual void | ResetSignals () |
Reset signals handlers to previous behaviour. | |
virtual void | ResetTimer (TTimer *) |
virtual void | Run () |
System event loop. | |
virtual Int_t | Select (TFileHandler *fh, Long_t timeout) |
Select on active file descriptors (called by TMonitor). | |
virtual Int_t | Select (TList *active, Long_t timeout) |
Select on active file descriptors (called by TMonitor). | |
virtual int | SendBuf (int sock, const void *buffer, int length) |
Send a buffer headed by a length indicator. | |
virtual int | SendRaw (int sock, const void *buffer, int length, int flag) |
Send exactly length bytes from buffer. | |
virtual void | SetAclicMode (EAclicMode mode) |
AclicMode indicates whether the library should be built in debug mode or optimized. | |
virtual void | SetBuildDir (const char *build_dir, Bool_t isflat=kFALSE) |
Set the location where ACLiC will create libraries and use as a scratch area. | |
virtual void | SetDisplay () |
Set DISPLAY environment variable based on utmp entry. Only for UNIX. | |
virtual void | SetDynamicPath (const char *pathname) |
Set the dynamic path to a new value. | |
virtual void | Setenv (const char *name, const char *value) |
Set environment variable. | |
void | SetErrorStr (const char *errstr) |
Set the system error string. | |
virtual void | SetFlagsDebug (const char *) |
FlagsDebug should contain the options to pass to the C++ compiler in order to compile the library in debug mode. | |
virtual void | SetFlagsOpt (const char *) |
FlagsOpt should contain the options to pass to the C++ compiler in order to compile the library in optimized mode. | |
virtual Int_t | SetFPEMask (Int_t mask=kDefaultMask) |
Set which conditions trigger a floating point exception. | |
virtual void | SetIncludePath (const char *includePath) |
IncludePath should contain the list of compiler flags to indicate where to find user defined header files. | |
virtual void | SetLinkdefSuffix (const char *suffix) |
The 'suffix' will be appended to the name of a script loaded by ACLiC and used to locate any eventual additional linkdef information that ACLiC should used to produce the dictionary. | |
virtual void | SetLinkedLibs (const char *linkedLibs) |
LinkedLibs should contain the library directory and list of libraries needed to recreate the current executable. | |
virtual void | SetMakeExe (const char *directives) |
Directives has the same syntax as the argument of SetMakeSharedLib but is used to create an executable. | |
virtual void | SetMakeSharedLib (const char *directives) |
Directives should contain the description on how to compile and link a shared lib. | |
virtual void | SetObjExt (const char *objExt) |
Set object files extension, should be either .o, .obj, etc. | |
virtual void | SetProgname (const char *name) |
Set the application name (from command line, argv[0]) and copy it in gProgName. | |
virtual int | SetSockOpt (int sock, int kind, int val) |
Set socket option. | |
virtual void | SetSoExt (const char *soExt) |
Set shared library extension, should be either .so, .sl, .a, .dll, etc. | |
virtual void | ShowOutput (RedirectHandle_t *h) |
Display the content associated with the redirection described by the opaque handle 'h'. | |
virtual void | Sleep (UInt_t milliSec) |
Sleep milliSec milli seconds. | |
virtual TString | SplitAclicMode (const char *filename, TString &mode, TString &args, TString &io) const |
This method split a filename of the form: | |
virtual void | StackTrace () |
Print a stack trace. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual int | Symlink (const char *from, const char *to) |
Create a symbolic link from file1 to file2. | |
virtual void | Syslog (ELogLevel level, const char *mess) |
Send mess to syslog daemon. | |
virtual const char * | TempDirectory () const |
Return a user configured or systemwide directory to create temporary files in. | |
virtual FILE * | TempFileName (TString &base, const char *dir=nullptr) |
Create a secure temporary file by appending a unique 6 letter string to base. | |
virtual int | Umask (Int_t mask) |
Set the process file creation mode mask. | |
virtual const char * | UnixPathName (const char *unixpathname) |
Convert from a local pathname to a Unix pathname. | |
virtual void | Unload (const char *module) |
Unload a shared library. | |
virtual void | Unsetenv (const char *name) |
Unset environment variable. | |
virtual int | Utime (const char *file, Long_t modtime, Long_t actime) |
Set the a files modification and access times. | |
virtual char * | Which (const char *search, const char *file, EAccessMode mode=kFileExists) |
Find location of file in a search path. | |
virtual const char * | WorkingDirectory () |
Return working directory. | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TNamed &named) | |
TNamed copy ctor. | |
TNamed (const TString &name, const TString &title) | |
virtual | ~TNamed () |
TNamed destructor. | |
void | Clear (Option_t *option="") override |
Set name and title to empty strings (""). | |
TObject * | Clone (const char *newname="") const override |
Make a clone of an object using the Streamer facility. | |
Int_t | Compare (const TObject *obj) const override |
Compare two TNamed objects. | |
void | Copy (TObject &named) const override |
Copy this to obj. | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. | |
const char * | GetName () const override |
Returns name of object. | |
const char * | GetTitle () const override |
Returns title of object. | |
ULong_t | Hash () const override |
Return hash value for this object. | |
Bool_t | IsSortable () const override |
void | ls (Option_t *option="") const override |
List TNamed name and title. | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. | |
void | Print (Option_t *option="") const override |
Print TNamed name and title. | |
virtual void | SetName (const char *name) |
Set the name of the TNamed. | |
virtual void | SetNameTitle (const char *name, const char *title) |
Set all the TNamed parameters (name and title). | |
virtual void | SetTitle (const char *title="") |
Set the title of the TNamed. | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
Public Member Functions inherited from TObject | |
TObject () | |
TObject constructor. | |
TObject (const TObject &object) | |
TObject copy ctor. | |
virtual | ~TObject () |
TObject destructor. | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. | |
ULong_t | CheckedHash () |
Check and record whether this class has a consistent Hash/RecursiveRemove setup (*) and then return the regular Hash value for this object. | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. | |
virtual void | Delete (Option_t *option="") |
Delete this object. | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1) . | |
virtual void | Dump () const |
Dump contents of object on stdout. | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. | |
virtual void | Execute (const char *method, const char *params, Int_t *error=nullptr) |
Execute method on this object with the given parameter string, e.g. | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=nullptr) |
Execute method on this object with parameters stored in the TObjArray. | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. | |
virtual const char * | GetIconName () const |
Returns mime type name of object. | |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). | |
virtual Option_t * | GetOption () const |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. | |
Bool_t | HasInconsistentHash () const |
Return true is the type of this object is known to have an inconsistent setup for Hash and RecursiveRemove (i.e. | |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. | |
void | InvertBit (UInt_t f) |
Bool_t | IsDestructed () const |
IsDestructed. | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). | |
R__ALWAYS_INLINE Bool_t | IsOnHeap () const |
R__ALWAYS_INLINE Bool_t | IsZombie () const |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). | |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. | |
void | operator delete (void *ptr) |
Operator delete. | |
void | operator delete[] (void *ptr) |
Operator delete []. | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, void *vp) |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. | |
void | ResetBit (UInt_t f) |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". | |
void | SetBit (UInt_t f) |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. | |
void | StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b) |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. | |
R__ALWAYS_INLINE Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. | |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. | |
virtual Int_t | Write (const char *name=nullptr, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. | |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TNetSystem | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TSystem | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Int_t | GetErrno () |
Static function returning system error number. | |
static void | ResetErrno () |
Static function resetting system error number. | |
Static Public Member Functions inherited from TNamed | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Static Public Member Functions inherited from TObject | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
static Longptr_t | GetDtorOnly () |
Return destructor only flag. | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. | |
Private Member Functions | |
XrdClientAdmin * | Connect (const char *url) |
Init a connection to the server. | |
void * | GetDirPtr () const |
void | InitXrdClient () |
One-time initialization of some communication variables for xrootd protocol. | |
Static Private Member Functions | |
static XrdClientAdmin * | GetClientAdmin (const char *url) |
Checks if an admin for 'url' exists already. | |
static TString | GetKey (const char *url) |
Build from uu a unique ID key used in hash tables. | |
Private Attributes | |
TString | fDir |
TString | fDirEntry |
VecStringVP_t | fDirList |
void * | fDirp |
Bool_t | fIsRootd |
Bool_t | fIsXRootd |
TString | fUrl |
Static Private Attributes | |
static THashList | fgAddrFQDN |
static THashList | fgAdminHash |
static Bool_t | fgInitDone = kFALSE |
static Bool_t | fgRootdBC = kTRUE |
Friends | |
class | TXNetSystemConnectGuard |
Additional Inherited Members | |
Public Types inherited from TSystem | |
enum | EAclicMode { kDefault , kDebug , kOpt } |
enum | EAclicProperties { kFlatBuildDir = (1ULL << ( 0 )) } |
Public Types inherited from TObject | |
enum | { kIsOnHeap = 0x01000000 , kNotDeleted = 0x02000000 , kZombie = 0x04000000 , kInconsistent = 0x08000000 , kBitMask = 0x00ffffff } |
enum | { kSingleKey = (1ULL << ( 0 )) , kOverwrite = (1ULL << ( 1 )) , kWriteDelete = (1ULL << ( 2 )) } |
enum | EDeprecatedStatusBits { kObjInCanvas = (1ULL << ( 3 )) } |
enum | EStatusBits { kCanDelete = (1ULL << ( 0 )) , kMustCleanup = (1ULL << ( 3 )) , kIsReferenced = (1ULL << ( 4 )) , kHasUUID = (1ULL << ( 5 )) , kCannotPick = (1ULL << ( 6 )) , kNoContextMenu = (1ULL << ( 8 )) , kInvalidObject = (1ULL << ( 13 )) } |
Protected Types inherited from TObject | |
enum | { kOnlyPrepStep = (1ULL << ( 3 )) } |
Protected Member Functions inherited from TNetSystem | |
void | Create (const char *url, TSocket *sock=nullptr) |
Create a TNetSystem object. | |
void | InitRemoteEntity (const char *url) |
Parse and save coordinates of the remote entity (user, host, port, ...) | |
Protected Member Functions inherited from TSystem | |
virtual void | DoBeep (Int_t=-1, Int_t=-1) const |
virtual const char * | ExpandFileName (const char *fname) |
Expand a pathname getting rid of special shell characters like ~. | |
virtual Bool_t | ExpandFileName (TString &fname) |
Expand a pathname getting rid of special shell characters like ~. | |
TSystem * | FindHelper (const char *path, void *dirptr=nullptr) |
Create helper TSystem to handle file and directory operations that might be special for remote file access. | |
TString & | GetLastErrorString () |
Return the thread local storage for the custom last error message. | |
const TString & | GetLastErrorString () const |
Return the thread local storage for the custom last error message. | |
virtual const char * | GetLinkedLibraries () |
Get list of shared libraries loaded at the start of the executable. | |
virtual void | SigAlarmInterruptsSyscalls (Bool_t) |
Protected Member Functions inherited from TObject | |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). | |
void | MakeZombie () |
Static Protected Member Functions inherited from TSystem | |
static const char * | StripOffProto (const char *path, const char *proto) |
Strip off protocol string from specified path. | |
Protected Attributes inherited from TNetSystem | |
Bool_t | fIsLocal |
TString | fLocalPrefix |
Protected Attributes inherited from TSystem | |
EAclicMode | fAclicMode {kDefault} |
Int_t | fAclicProperties {0} |
Int_t | fBeepDuration {0} |
Int_t | fBeepFreq {0} |
TString | fBuildArch |
TString | fBuildCompiler |
TString | fBuildCompilerVersion |
TString | fBuildCompilerVersionStr |
TString | fBuildDir |
TString | fBuildNode |
TSeqCollection * | fCompiled {nullptr} |
Bool_t | fDone {kFALSE} |
TSeqCollection * | fFileHandler {nullptr} |
TString | fFlagsDebug |
TString | fFlagsOpt |
TSeqCollection * | fHelpers {nullptr} |
TString | fHostname |
TString | fIncludePath |
Bool_t | fInControl {kFALSE} |
std::atomic< Bool_t > | fInsideNotify {kFALSE} |
Int_t | fLevel {0} |
TString | fLinkdefSuffix |
TString | fLinkedLibs |
TString | fListLibs |
TString | fListPaths |
TString | fMakeExe |
TString | fMakeSharedLib |
Int_t | fMaxrfd {-1} |
Int_t | fMaxwfd {-1} |
Int_t | fNfd {0} |
Signals that were trapped. | |
TString | fObjExt |
TSeqCollection * | fOnExitList {nullptr} |
TFdSet * | fReadmask {nullptr} |
TFdSet * | fReadready {nullptr} |
Files that should be checked for write events. | |
Int_t | fSigcnt {0} |
TSeqCollection * | fSignalHandler {nullptr} |
TFdSet * | fSignals {nullptr} |
Files with writes waiting. | |
TString | fSoExt |
TSeqCollection * | fStdExceptionHandler {nullptr} |
TList * | fTimers {nullptr} |
TString | fWdpath |
TFdSet * | fWritemask {nullptr} |
Files that should be checked for read events. | |
TFdSet * | fWriteready {nullptr} |
Files with reads waiting. | |
Protected Attributes inherited from TNamed | |
TString | fName |
TString | fTitle |
#include <TXNetSystem.h>
Create system management class without connecting to server.
Definition at line 67 of file TXNetSystem.cxx.
Create system management class and connect to server specified by url.
Definition at line 80 of file TXNetSystem.cxx.
|
inlinevirtual |
Definition at line 77 of file TXNetSystem.h.
|
virtual |
Returns FALSE if one can access a file using the specified access mode.
NB: for the time being mode is ignored for XROOTD (just checks existence of the file or directory). Mode is the same as for the Unix access(2) function. Attention, bizarre convention of return value!!
Reimplemented from TNetSystem.
Definition at line 436 of file TXNetSystem.cxx.
|
static |
|
inlinestaticconstexpr |
Definition at line 97 of file TXNetSystem.h.
|
private |
Init a connection to the server.
Returns a pointer to the appropriate instance of XrdClientAdmin or 0 in case of failure.
Definition at line 114 of file TXNetSystem.cxx.
|
virtual |
Check consistency of this helper with the one required by 'path' or 'dirptr'.
Reimplemented from TNetSystem.
Definition at line 420 of file TXNetSystem.cxx.
|
inlinestatic |
Definition at line 97 of file TXNetSystem.h.
|
virtual |
Free(Close) the directory referenced by dirp.
Reimplemented from TNetSystem.
Definition at line 265 of file TXNetSystem.cxx.
|
staticprivate |
Checks if an admin for 'url' exists already.
Avoid duplications.
Definition at line 704 of file TXNetSystem.cxx.
|
virtual |
Get directory entry for directory referenced by dirp.
Returns 0 in case there are no more entries.
Reimplemented from TNetSystem.
Definition at line 317 of file TXNetSystem.cxx.
|
inlineprivatevirtual |
Reimplemented from TNetSystem.
Definition at line 66 of file TXNetSystem.h.
|
staticprivate |
Build from uu a unique ID key used in hash tables.
Definition at line 728 of file TXNetSystem.cxx.
|
virtual |
Get info about a file.
Info is returned in the form of a FileStat_t structure (see TSystem.h). The function returns 0 in case of success and 1 if the file could not be stat'ed. NOTICE: Not all information is available with an xrootd server.
Reimplemented from TNetSystem.
Definition at line 360 of file TXNetSystem.cxx.
Retrieve status of a '
'-separated list of files in 'paths'.
The information is returned as one UChar_t per file in 'info'; 'info' must be allocated by the caller.
Definition at line 607 of file TXNetSystem.cxx.
|
private |
One-time initialization of some communication variables for xrootd protocol.
Definition at line 214 of file TXNetSystem.cxx.
|
inlinevirtual |
Reimplemented from TNetSystem.
Definition at line 97 of file TXNetSystem.h.
Bool_t TXNetSystem::IsOnline | ( | const char * | path | ) |
Check if the file defined by 'path' is ready to be used.
Definition at line 498 of file TXNetSystem.cxx.
|
virtual |
Returns TRUE if the url in 'path' points to the local file system.
This is used to avoid going through the NIC card for local operations.
Reimplemented from TSystem.
Definition at line 635 of file TXNetSystem.cxx.
Get end-point url of a file.
Info is returned in eurl. The function returns 0 in case of success and 1 if the file could not be stat'ed.
Definition at line 655 of file TXNetSystem.cxx.
|
virtual |
Create a directory. Return 0 on success, -1 otherwise.
Reimplemented from TNetSystem.
Definition at line 291 of file TXNetSystem.cxx.
|
virtual |
Open a directory.
Returns a non-zero pointer (with no special purpose) in case of success, 0 in case of error.
Reimplemented from TNetSystem.
Definition at line 232 of file TXNetSystem.cxx.
Issue a prepare request for file defined by 'path'.
Definition at line 519 of file TXNetSystem.cxx.
Int_t TXNetSystem::Prepare | ( | TCollection * | paths, |
UChar_t | opt = 8 , |
||
UChar_t | prio = 0 , |
||
TString * | bufout = 0 |
||
) |
Issue a prepare request for a list of files defined by 'paths', which must be of one of the following types: TFileInfo, TUrl, TObjString.
On output, bufout, if defined, points to a buffer form that can be used with GetPathsInfo. Return the number of paths found or -1 if any error occured.
Definition at line 548 of file TXNetSystem.cxx.
|
virtual |
Stream an object of class TObject.
Reimplemented from TNetSystem.
|
inline |
Definition at line 97 of file TXNetSystem.h.
|
virtual |
Unlink 'path' on the remote server system.
Returns 0 on success, -1 otherwise.
Reimplemented from TNetSystem.
Definition at line 457 of file TXNetSystem.cxx.
|
friend |
Definition at line 51 of file TXNetSystem.h.
|
private |
Definition at line 56 of file TXNetSystem.h.
|
private |
Definition at line 59 of file TXNetSystem.h.
|
private |
Definition at line 58 of file TXNetSystem.h.
|
private |
Definition at line 57 of file TXNetSystem.h.
|
staticprivate |
Definition at line 69 of file TXNetSystem.h.
|
staticprivate |
Definition at line 70 of file TXNetSystem.h.
Definition at line 62 of file TXNetSystem.h.
Definition at line 63 of file TXNetSystem.h.
|
private |
Definition at line 54 of file TXNetSystem.h.
|
private |
Definition at line 55 of file TXNetSystem.h.
|
private |
Definition at line 60 of file TXNetSystem.h.