Public Member Functions | Public Attributes | Private Attributes

XrdPosixFile Class Reference

Inheritance diagram for XrdPosixFile:
Inheritance graph
[legend]
Collaboration diagram for XrdPosixFile:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void isOpen ()
long long Offset ()
long long addOffset (long long offs, int updtSz=0)
long long setOffset (long long offs)
void Lock ()
void UnLock ()
void OpenComplete (XrdClientAbs *clientP, void *cbArg, bool res)
 XrdPosixFile (int fd, const char *path, XrdPosixCallBack *cbP=0, int cbsync=0)
 ~XrdPosixFile ()

Public Attributes

XrdClientXClient
XrdClientStatInfo stat
XrdPosixCallBacktheCB
XrdPosixFileNext
int FD
int cbResult

Private Attributes

XrdSysMutex myMutex
long long currOffset
int doClose
int cbDone

Constructor & Destructor Documentation

XrdPosixFile::XrdPosixFile ( int  fd,
const char *  path,
XrdPosixCallBack cbP = 0,
int  cbsync = 0 
)
XrdPosixFile::~XrdPosixFile (  ) 

References close, XrdClient::Close(), doClose, FD, and XClient.


Member Function Documentation

long long XrdPosixFile::addOffset ( long long  offs,
int  updtSz = 0 
) [inline]
void XrdPosixFile::isOpen (  )  [inline]

References doClose.

Referenced by XrdPosixXrootd::Open(), and XrdPosixXrootd::OpenCB().

void XrdPosixFile::Lock (  )  [inline]

References XrdSysMutex::Lock(), and myMutex.

Referenced by XrdPosixXrootd::findFP().

long long XrdPosixFile::Offset (  )  [inline]
void XrdPosixFile::OpenComplete ( XrdClientAbs clientP,
void *  cbArg,
bool  res 
) [inline, virtual]

Implements XrdClientCallback.

References cbDone, and XrdPosixXrootd::OpenCB().

long long XrdPosixFile::setOffset ( long long  offs  )  [inline]

References currOffset.

Referenced by XrdPosixXrootd::Lseek().

void XrdPosixFile::UnLock (  )  [inline]

Member Data Documentation

int XrdPosixFile::cbDone [private]

Referenced by OpenComplete().

Referenced by XrdPosixXrootd::OpenCB().

long long XrdPosixFile::currOffset [private]

Referenced by addOffset(), Offset(), and setOffset().

int XrdPosixFile::doClose [private]

Referenced by isOpen(), and ~XrdPosixFile().

Referenced by Lock(), and UnLock().

Referenced by XrdPosixXrootd::OpenCB().

Referenced by XrdPosixXrootd::OpenCB().


The documentation for this class was generated from the following file: