12#ifndef ROOT_TCastorFile
13#define ROOT_TCastorFile
#define ClassDef(name, id)
A TNetFile interfaced to the Castor storage backend.
Bool_t fWrittenTo
true if data has been written to file
Bool_t WriteBuffer(const char *buf, Int_t len)
Write specified byte range to remote file via rootd daemon.
Bool_t fIsCastor
true if internal path is valid
Int_t SysClose(Int_t fd)
Close currently open file.
TString fInternalPath
CASTOR internal path.
void ConnectServer(Int_t *stat, EMessageTypes *kind, Int_t netopt, Int_t tcpwindowsize, Bool_t forceOpen, Bool_t forceRead)
Connect to remote rootd server on CASTOR disk server.
TString fDiskServer
CASTOR remote disk server.
void FindServerAndPath()
Find the CASTOR disk server and internal file path.
TString fAuthProto
Used to specific the auth protocol.
@ kUseGeneralPurpose
Use the recommended general-purpose setting; moderate read / write speed and compression ratio.