library: libNetx
#include "TXNetFile.h"


class description - header file - source file
viewCVS header - viewCVS source

class TXNetFile: public TNetFile

Inheritance Inherited Members Includes Libraries
Class Charts

Function Members (Methods)

Display options:
Show inherited
Show non-public
TXNetFile(const char* url, Option_t* option = "", const char* fTitle = "", Int_t compress = 1, Int_t netopt = -1, Bool_t parallelopen = kFALSE, const char* logicalurl = "0")
voidTObject::AbstractMethod(const char* method) const
voidTDirectory::Add(TObject* obj)
virtual voidTDirectory::Append(TObject* obj)
Int_tTDirectory::AppendKey(TKey* key)
virtual voidTObject::AppendPad(Option_t* option = "")
static TFileOpenHandle*TFile::AsyncOpen(const char* name, Option_t* option = "", const char* ftitle = "", Int_t compress = 1, Int_t netopt = 0)
virtual voidTDirectory::Browse(TBrowser* b)
voidTDirectory::Build(TFile* motherFile = 0, TDirectory* motherDir = 0)
virtual Bool_tTDirectory::cd(const char* path = "0")
static Bool_tTDirectory::Cd(const char* path)
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTDirectory::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual voidClose(Option_t* opt = "")
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidTFile::Copy(TObject&) const
virtual TKey*TFile::CreateKey(TDirectory* mother, const TObject* obj, const char* name, Int_t bufsize)
virtual TKey*TFile::CreateKey(TDirectory* mother, const void* obj, const TClass* cl, const char* name, Int_t bufsize)
static voidTDirectory::DecodeNameCycle(const char* namecycle, char* name, Short_t& cycle)
virtual voidTFile::Delete(const char* namecycle = "")
virtual voidTDirectory::DeleteAll(Option_t* option = "")
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTFile::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() const
virtual TObject*TObject::DrawClone(Option_t* option = "") const
virtual voidTFile::DrawMap(const char* keys = "*", Option_t* option = "")
virtual voidTObject::Dump() const
static voidTDirectory::EncodeNameCycle(char* buffer, const char* name, Short_t cycle)
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTFile::FillBuffer(char*& buffer)
virtual TKey*TDirectory::FindKey(const char* keyname) const
virtual TKey*TDirectory::FindKeyAny(const char* keyname) const
virtual TObject*TDirectory::FindObject(const char* name) const
virtual TObject*TDirectory::FindObject(const TObject* obj) const
virtual TObject*TDirectory::FindObjectAny(const char* name) const
virtual voidFlush()
virtual TObject*TDirectory::Get(const char* namecycle)
TArchiveFile*TFile::GetArchive() const
virtual TFile::EAsyncOpenStatusGetAsyncOpenStatus()
Int_tTFile::GetBestBuffer() const
virtual Int_tTDirectory::GetBufferSize() const
virtual Long64_tTFile::GetBytesRead() const
virtual Long64_tTFile::GetBytesWritten() const
TFileCacheRead*TFile::GetCacheRead() const
TFileCacheWrite*TFile::GetCacheWrite() const
TArrayC*TFile::GetClassIndex() const
Int_tTFile::GetCompressionLevel() const
const TDatime&TDirectory::GetCreationDate() const
virtual TDirectory*TDirectory::GetDirectory(const char* namecycle, Bool_t printError = false, const char* funcname = "GetDirectory")
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
virtual Long64_tTFile::GetEND() const
virtual const TUrl*TNetFile::GetEndpointUrl() const
virtual Int_tTFile::GetErrno() const
Int_tTNetFile::GetErrorCode() const
Int_tTFile::GetFd() const
virtual TFile*TDirectory::GetFile() const
static Long64_tTFile::GetFileBytesRead()
static Long64_tTFile::GetFileBytesWritten()
static Long64_tTFile::GetFileCounter()
static Int_tTFile::GetFileReadCalls()
virtual const char*TObject::GetIconName() const
virtual TKey*TDirectory::GetKey(const char* name, Short_t cycle = 9999) const
virtual TList*TDirectory::GetList() const
TList*TFile::GetListOfFree() const
virtual TList*TDirectory::GetListOfKeys() const
TObjArray*TFile::GetListOfProcessIDs() const
const TDatime&TDirectory::GetModificationDate() const
TObject*TDirectory::GetMother() const
TDirectory*TDirectory::GetMotherDir() const
virtual const char*TNamed::GetName() const
virtual Int_tTFile::GetNbytesFree() const
virtual Int_tTFile::GetNbytesInfo() const
virtual Int_tTDirectory::GetNbytesKeys() const
virtual Int_tTFile::GetNfree() const
virtual Int_tTDirectory::GetNkeys() const
virtual Int_tTFile::GetNProcessIDs() const
voidTDirectory::GetObject(const char* namecycle, void*& ptr)
virtual void*TDirectory::GetObjectChecked(const char* namecycle, const char* classname)
virtual void*TDirectory::GetObjectChecked(const char* namecycle, const TClass* cl)
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual void*TDirectory::GetObjectUnchecked(const char* namecycle)
virtual Option_t*TFile::GetOption() const
virtual const char*TDirectory::GetPath() const
virtual const char*TDirectory::GetPathStatic() const
virtual Int_tTFile::GetReadCalls() const
Int_tTFile::GetRecordHeader(char* buf, Long64_t first, Int_t maxbytes, Int_t& nbytes, Int_t& objlen, Int_t& keylen)
virtual Long64_tTDirectory::GetSeekDir() const
virtual Long64_tTFile::GetSeekFree() const
virtual Long64_tTFile::GetSeekInfo() const
virtual Long64_tTDirectory::GetSeekKeys() const
virtual Long64_tTDirectory::GetSeekParent() const
virtual Long64_tTFile::GetSize() const
const TList*TFile::GetStreamerInfoCache()
virtual TList*TFile::GetStreamerInfoList()
virtual const char*TNamed::GetTitle() const
static TFile::EFileTypeTFile::GetType(const char* name, Option_t* option = "")
virtual UInt_tTObject::GetUniqueID() const
TUUIDTDirectory::GetUUID() const
Int_tTFile::GetVersion() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
virtual ULong_tTNamed::Hash() const
static voidTFile::IncrementFileCounter()
virtual voidTFile::IncrementProcessIDs()
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidTObject::Inspect() const
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
virtual Bool_tTFile::IsArchive() const
Bool_tTFile::IsBinary() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tTDirectory::IsFolder() const
Bool_tTDirectory::IsModified() const
Bool_tTObject::IsOnHeap() const
virtual Bool_tIsOpen() const
Bool_tTFile::IsRaw() const
virtual Bool_tTNamed::IsSortable() const
Bool_tTDirectory::IsWritable() const
Bool_tTObject::IsZombie() const
virtual voidTFile::ls(Option_t* option = "") const
virtual voidTFile::MakeFree(Long64_t first, Long64_t last)
virtual voidTFile::MakeProject(const char* dirname, const char* classes = "*", Option_t* option = "new")
virtual voidTFile::Map()
virtual Bool_tTNetFile::Matches(const char* url)
voidTObject::MayNotUse(const char* method) const
virtual TDirectory*TDirectory::mkdir(const char* name, const char* title = "")
virtual Bool_tTFile::MustFlush() const
virtual Bool_tTObject::Notify()
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual voidTFile::Paint(Option_t* option = "")
virtual voidTObject::Pop()
virtual voidTDirectory::Purge(Short_t nkeep = 1)
virtual voidTDirectory::pwd() const
virtual Int_tTObject::Read(const char* name)
virtual voidTDirectory::ReadAll(Option_t* option = "")
virtual Bool_tReadBuffer(char* buf, Int_t len)
virtual Bool_tReadBuffers(char* buf, Long64_t* pos, Int_t* len, Int_t nbuf)
virtual voidTFile::ReadFree()
virtual Int_tTDirectory::ReadKeys()
virtual voidTFile::ReadStreamerInfo()
virtual Int_tTFile::Recover()
virtual voidTDirectory::RecursiveRemove(TObject* obj)
virtual Int_tReOpen(Option_t* mode)
voidTObject::ResetBit(UInt_t f)
virtual voidTFile::ResetErrno() const
virtual voidTDirectory::rmdir(const char* name)
virtual voidTDirectory::Save()
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") const
virtual voidTObject::SavePrimitive(ostream& out, Option_t* option = "")
virtual voidTDirectory::SaveSelf(Bool_t force = kFALSE)
virtual voidTNetFile::Seek(Long64_t offset, TFile::ERelativeTo pos = kBeg)
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
virtual voidTDirectory::SetBufferSize(Int_t bufsize)
virtual voidTFile::SetCacheRead(TFileCacheRead* cache)
virtual voidTFile::SetCacheWrite(TFileCacheWrite* cache)
virtual voidTFile::SetCompressionLevel(Int_t level = 1)
virtual voidTObject::SetDrawOption(Option_t* option = "")
static voidTObject::SetDtorOnly(void* obj)
virtual voidTFile::SetEND(Long64_t last)
static voidTFile::SetFileBytesRead(Long64_t bytes = 0)
static voidTFile::SetFileBytesWritten(Long64_t bytes = 0)
static voidTFile::SetFileReadCalls(Int_t readcalls = 0)
voidTDirectory::SetMother(const TObject* mother)
virtual voidTDirectory::SetName(const char* newname)
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
virtual voidTFile::SetOption(Option_t* option = ">")
virtual voidTFile::SetReadCalls(Int_t readcalls = 0)
static voidTFile::SetReadStreamerInfo(Bool_t readinfo = kTRUE)
voidTDirectory::SetSeekDir(Long64_t v)
virtual voidTNamed::SetTitle(const char* title = "")
virtual voidTObject::SetUniqueID(UInt_t uid)
voidTDirectory::SetWritable(Bool_t writable = kTRUE)
virtual voidShowMembers(TMemberInspector& insp, char* parent)
virtual voidTFile::ShowStreamerInfo()
virtual Long64_tSize()
virtual Int_tTFile::Sizeof() const
virtual voidStreamer(TBuffer& b)
voidStreamerNVirtual(TBuffer& b)
voidTFile::SumBuffer(Int_t bufsize)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
virtual voidTFile::UseCache(Int_t maxCacheSize = 10, Int_t pageSize = 0)
virtual voidTObject::UseCurrentStyle()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTFile::Write(const char* name = "0", Int_t opt = 0, Int_t bufsiz = 0)
virtual Int_tTFile::Write(const char* name = "0", Int_t opt = 0, Int_t bufsiz = 0) const
virtual Bool_tWriteBuffer(const char* buffer, Int_t BufferLength)
virtual voidTDirectory::WriteDirHeader()
virtual voidTFile::WriteFree()
virtual voidTFile::WriteHeader()
virtual voidTDirectory::WriteKeys()
Int_tTDirectory::WriteObject(const void* obj, const char* name, Option_t* option = "")
virtual Int_tTDirectory::WriteObjectAny(const void* obj, const char* classname, const char* name, Option_t* option = "")
virtual Int_tTDirectory::WriteObjectAny(const void* obj, const TClass* cl, const char* name, Option_t* option = "")
virtual voidTFile::WriteStreamerInfo()
virtual Int_tTDirectory::WriteTObject(const TObject* obj, const char* name = "0", Option_t* option = "")
Bool_tTDirectory::cd1(const char* path)
static Bool_tTDirectory::Cd1(const char* path)
virtual voidTNetFile::ConnectServer(Int_t* stat, EMessageTypes* kind, Int_t netopt, Int_t tcpwindowsize, Bool_t forceOpen, Bool_t forceRead)
virtual voidTNetFile::Create(const char* url, Option_t* option, Int_t netopt)
virtual voidTNetFile::Create(TSocket* s, Option_t* option, Int_t netopt)
virtual Long64_tTFile::DirCreateEntry(TDirectory*)
virtual Int_tTFile::DirReadKeys(TDirectory*)
virtual voidTFile::DirWriteHeader(TDirectory*)
virtual voidTFile::DirWriteKeys(TDirectory*)
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidTDirectory::FillFullPath(TString& buf) const
Long64_tTFile::GetRelOffset() const
TNetFile&TNetFile::operator=(const TNetFile&)
virtual voidTNetFile::Print(Option_t* option) const
voidTNetFile::PrintError(const char* where, Int_t err)
Int_tTFile::ReadBufferViaCache(char* buf, Int_t len)
Int_tTNetFile::Recv(Int_t& status, EMessageTypes& kind)
virtual Int_tTFile::SysRead(Int_t fd, void* buf, Int_t len)
virtual Long64_tTFile::SysSeek(Int_t fd, Long64_t offset, Int_t whence)
virtual Int_tTFile::SysSync(Int_t fd)
virtual Int_tTFile::SysWrite(Int_t fd, const void* buf, Int_t len)
Int_tTFile::WriteBufferViaCache(const char* buf, Int_t len)
voidCreateXClient(const char* url, Option_t* option, Int_t netopt, Bool_t parallelopen)
static voidFormUrl(TUrl uut, TString& uu)
static Int_tGetRootdProtocol(TSocket* s)
virtual voidInit(Bool_t create)
Bool_tOpen(Option_t* option, Bool_t parallelopen)
static voidSetEnv()
virtual Int_tSysClose(Int_t fd)
virtual Int_tSysOpen(const char* pathname, Int_t flags, UInt_t mode)
virtual Int_tSysStat(Int_t fd, Long_t* id, Long64_t* size, Long_t* flags, Long_t* modtime)

Data Members

enum TFile::EAsyncOpenStatus { kAOSNotAsync
enum TFile::EStatusBits { kRecovered
enum TFile::ERelativeTo { kBeg
enum TFile::[unnamed] { kStartBigFile
enum TFile::EFileType { kDefault
enum TDirectory::[unnamed] { kCloseDirectory
enum TObject::EStatusBits { kCanDelete
enum TObject::[unnamed] { kIsOnHeap
TUrlTNetFile::fEndpointUrlURL of realfile (after possible redirection)
TStringTNetFile::fUserremote user name
TSocket*TNetFile::fSocketconnection to rootd server
Int_tTNetFile::fProtocolrootd protocol level
Int_tTNetFile::fErrorCodeerror code returned by rootd (matching gRootdErrStr)
Double_tTFile::fSumBufferSum of buffer sizes of objects written so far
Double_tTFile::fSum2BufferSum of squares of buffer sizes of objects written so far
Long64_tTFile::fBytesWriteNumber of bytes written to this file
Long64_tTFile::fBytesReadNumber of bytes read from this file
Long64_tTFile::fBEGINFirst used byte in file
Long64_tTFile::fENDLast used byte in file
Long64_tTFile::fSeekFreeLocation on disk of free segments structure
Long64_tTFile::fSeekInfoLocation on disk of StreamerInfo record
Int_tTFile::fDFile descriptor
Int_tTFile::fVersionFile format version
Int_tTFile::fCompressCompression level from 0(not compressed) to 9 (max compression)
Int_tTFile::fNbytesFreeNumber of bytes for free segments structure
Int_tTFile::fNbytesInfoNumber of bytes for StreamerInfo record
Int_tTFile::fWrittenNumber of objects written so far
Int_tTFile::fNProcessIDsNumber of TProcessID written to this file
Int_tTFile::fReadCallsNumber of read calls ( not counting the cache calls )
TStringTFile::fRealNameEffective real file name (not original url)
TStringTFile::fOptionFile options
Char_tTFile::fUnitsNumber of bytes for file pointers
TList*TFile::fFreeFree segments linked list table
TArrayC*TFile::fClassIndex!Index of TStreamerInfo classes written to this file
TObjArray*TFile::fProcessIDs!Array of pointers to TProcessIDs
Long64_tTFile::fOffset!Seek offset used by remote file classes
TArchiveFile*TFile::fArchive!Archive file from which we read this file
TFileCacheRead*TFile::fCacheRead!Pointer to the read cache (if any)
TFileCacheWrite*TFile::fCacheWrite!Pointer to the write cache (if any)
Long64_tTFile::fArchiveOffset!Offset at which file starts in archive
Bool_tTFile::fIsArchive!True if this is a pure archive file
Bool_tTFile::fNoAnchorInName!True if we don't want to force the anchor to be appended to the file name
Bool_tTFile::fIsRootFile!True is this is a ROOT file, raw file otherwise
Bool_tTFile::fInitDone!True if the file has been initialized
Bool_tTFile::fMustFlush!True if the file buffers must be flushed
TFileOpenHandle*TFile::fAsyncHandle!For proper automatic cleanup
TFile::EAsyncOpenStatusTFile::fAsyncOpenStatus!Status of an asynchronous open request
TUrlTFile::fUrl!URL of file
TList*TFile::fInfoCache!Cached list of the streamer infos in this file
static TList*TFile::fgAsyncOpenRequests!List of handles for pending open requests
static Long64_tTFile::fgBytesWriteNumber of bytes written by all TFile objects
static Long64_tTFile::fgBytesReadNumber of bytes read by all TFile objects
static Long64_tTFile::fgFileCounterCounter for all opened files
static Int_tTFile::fgReadCallsNumber of bytes read from all TFile objects
static Bool_tTFile::fgReadInfoif true (default) ReadStreamerInfo is called when opening a file
Bool_tTDirectory::fModifiedtrue if directory has been modified
Bool_tTDirectory::fWritabletrue if directory is writable
TDatimeTDirectory::fDatimeCDate and time when directory is created
TDatimeTDirectory::fDatimeMDate and time of last modification
Int_tTDirectory::fNbytesKeysNumber of bytes for the keys
Int_tTDirectory::fNbytesNameNumber of bytes in TNamed at creation time
Int_tTDirectory::fBufferSizeDefault buffer size to create new TKeys
Long64_tTDirectory::fSeekDirLocation of directory on file
Long64_tTDirectory::fSeekParentLocation of parent directory on file
Long64_tTDirectory::fSeekKeysLocation of Keys record on file
TFile*TDirectory::fFilepointer to current file in memory
TObject*TDirectory::fMotherpointer to mother of the directory
TList*TDirectory::fListPointer to objects list in memory
TList*TDirectory::fKeysPointer to keys list in memory
TUUIDTDirectory::fUUIDUnique identifier
TStringTDirectory::fPathBuffer!Buffer for GetPath() function
TStringTNamed::fNameobject identifier
TStringTNamed::fTitleobject title
XrdClient*fClientHandle to the client object
Long64_tfSizeFile size
Bool_tfIsRootdNature of remote file server
static Bool_tfgInitDoneAvoid initializing more than once
static Bool_tfgRootdBCControl rootd backward compatibility
XrdOucRecMutex*fInitMtxProtects fInitDone, serializes the

Class Description

 Authors: Alvise Dorigo, Fabrizio Furano                              
          INFN Padova, 2003                                           
 Interfaced to the standalone client (XrdClient): G. Ganis, CERN      
 TXNetFile is an extension of TNetFile able to deal with new xrootd   
 server. Its new features are:                                        
  - Automatic server kind recognition (xrootd load balancer, xrootd   
    data server, old rootd)                                           
  - Backward compatibility with old rootd server (acts as an old      
  - Fault tolerance for read/write operations (read/write timeouts    
    and retry)                                                        
  - Internal connection timeout (tunable indipendently from the OS    
    one) handled by threads                                           
  - handling of redirections from server                              
  - Single TCP physical channel for multiple TXNetFile's instances    
    inside the same application                                       
    So, each TXNetFile object client must send messages containing    
    its ID (streamid). The server, of course, will respond with       
    messages containing the client's ID, in order to make the client  
    able to recognize its message by matching its streamid with that  
    one contained in the server's response.                           
  - Tunable log verbosity level (0 = nothing, 3 = dump read/write     
    buffers too!)                                                     
  - Many parameters configurable via TEnv facility (see SetParm()     

TXNetFile(const char *url, Option_t *option, const char* ftitle, Int_t compress, Int_t netopt, Bool_t parallelopen, const char *logicalurl)
 Create a TXNetFile object. A TXNetFile object is the same as a TNetFile
 (from which the former derives) except that the protocol is extended to
 support dealing with new xrootd data server or xrootd load balancer

 The "url" argument must be of the form


 Note that this means that multiple servers (>= 1) can be specified in
 the url. The connection will try to connect to the first server:port
 and if that does not succeed, it will try the second one, and so on
 until it finds a server that will respond.

 See the TNetFile documentation for the description of the other arguments.

 The creation consists of internal variable settings (most important is
 the client's domain), creation of a TXUrl array containing all specified
 urls (a single url is serverX:portX/pathfile), trying to connect to the
 servers calling Connect() method, getting a valid access to the remote
 server the client is connected to using GetAccessToSrv() method,
 recognizing the remote server (if an old rootd the TNetFile's Create
 method will be called).

 The options field of the URL can be used for the following purposes:
   a. open a non-ROOT generic file
   b. re-check the environment variables

void FormUrl(TUrl uu, TString &uus)
 Form url for rootd socket.
void CreateXClient(const char *url, Option_t *option, Int_t netopt, Bool_t parallelopen)
 The real creation work is done here.
Int_t GetRootdProtocol(TSocket *s)
 Find out the remote rootd protocol version.
 Returns -1 in case of error.
Bool_t Open(Option_t *option, Bool_t doitparallel)
 The real creation work is done here.
Bool_t ReadBuffer(char *buffer, Int_t bufferLength)
 Override TNetFile::ReadBuffer to deal with the xrootd server.
 Returns kTRUE in case of errors.
Bool_t ReadBuffers(char *buf, Long64_t *pos, Int_t *len, Int_t nbuf)
 Read the nbuf blocks described in arrays pos and len,
 where pos[i] is the seek position of block i of length len[i].
 Note that for nbuf=1, this call is equivalent to TFile::ReafBuffer
 This function is overloaded by TNetFile, TWebFile, etc.
 Returns kTRUE in case of failure.
 Note: This is the overloading made in TXNetFile, If ReadBuffers
 is supported by xrootd it will try to gt the whole list from one single
 call avoiding the latency of multiple calls
Bool_t WriteBuffer(const char *buffer, Int_t bufferLength)
 Override TNetFile::WriteBuffer to deal with the xrootd server.
 Returns kTRUE in case of errors.
void Init(Bool_t create)
 Initialize the file. Makes sure that the file is really open before
 calling TFile::Init. It may block.
Bool_t IsOpen()
 Return kTRUE if the file is open, kFALSE otherwise.
TFile::EAsyncOpenStatus GetAsyncOpenStatus()
 Return status of asynchronous request
Int_t ReOpen(const Option_t *Mode)
 Re-open the file (see TNetFile::ReOpen() or TFile::ReOpen()
 for more details).
void Close(const Option_t *opt)
 Close the file (see TNetFile::Close() or TFile::Close()
 for more details).
void Flush()
 Flushes un-written data.
Int_t SysStat(Int_t fd, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime)
 Override TNetFile::SysStat (see parent's method for more details).
Int_t SysClose(Int_t fd)
 Override TNetFile::SysClose (see parent's method for more details).
Int_t SysOpen(const char* pathname, Int_t flags, UInt_t mode)
 Override TNetFile::SysOpen (see parent's method for more details).
Long64_t Size(void)
 Return file size.
void SetEnv()
 Set the relevant environment variables

Author: Alvise Dorigo, Fabrizio Furano
Last update: root/netx:$Name: $:$Id: TXNetFile.cxx,v 1.43 2006/10/05 14:56:25 rdm Exp $
Copyright (C) 1995-2004, Rene Brun and Fons Rademakers. *

ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.