Inheritance diagram for XrdPosixFile:

Public Member Functions | |
| int | Active () |
| 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 Opts=realFD) | |
| ~XrdPosixFile () | |
Public Attributes | |
| XrdClient * | XClient |
| XrdClientStatInfo | stat |
| XrdPosixCallBack * | theCB |
| XrdPosixFile * | Next |
| int | FD |
| int | cbResult |
Static Public Attributes | |
| static const int | realFD = 1 |
| static const int | isSync = 2 |
Private Attributes | |
| XrdSysMutex | myMutex |
| long long | currOffset |
| short | doClose |
| short | cbDone |
| short | fdClose |
Definition at line 104 of file XrdPosixXrootd.cc.
| XrdPosixFile::XrdPosixFile | ( | int | fd, | |
| const char * | path, | |||
| XrdPosixCallBack * | cbP = 0, |
|||
| int | Opts = realFD | |||
| ) |
Definition at line 324 of file XrdPosixXrootd.cc.
References isSync, XrdClientStatInfo::size, stat, and XClient.
| XrdPosixFile::~XrdPosixFile | ( | ) |
Definition at line 348 of file XrdPosixXrootd.cc.
References close, XrdClient::Close(), doClose, FD, fdClose, and XClient.
| int XrdPosixFile::Active | ( | ) | [inline] |
| void XrdPosixFile::isOpen | ( | ) | [inline] |
Definition at line 116 of file XrdPosixXrootd.cc.
References currOffset, XrdClientStatInfo::size, and stat.
| void XrdPosixFile::Lock | ( | ) | [inline] |
| void XrdPosixFile::UnLock | ( | void | ) | [inline] |
| void XrdPosixFile::OpenComplete | ( | XrdClientAbs * | clientP, | |
| void * | cbArg, | |||
| bool | res | |||
| ) | [inline, virtual] |
Implements XrdClientCallback.
Definition at line 130 of file XrdPosixXrootd.cc.
References cbDone, and XrdPosixXrootd::OpenCB().
Definition at line 108 of file XrdPosixXrootd.cc.
Referenced by XrdPosixFile(), and ~XrdPosixFile().
| int XrdPosixFile::FD |
const int XrdPosixFile::realFD = 1 [static] |
const int XrdPosixFile::isSync = 2 [static] |
Definition at line 143 of file XrdPosixXrootd.cc.
Referenced by XrdPosixXrootd::Open(), and XrdPosixFile().
XrdSysMutex XrdPosixFile::myMutex [private] |
long long XrdPosixFile::currOffset [private] |
Definition at line 152 of file XrdPosixXrootd.cc.
Referenced by addOffset(), Offset(), and setOffset().
short XrdPosixFile::doClose [private] |
Definition at line 153 of file XrdPosixXrootd.cc.
Referenced by Active(), isOpen(), and ~XrdPosixFile().
short XrdPosixFile::cbDone [private] |
short XrdPosixFile::fdClose [private] |
1.5.1