XrdOucStream Class Reference
#include <XrdOucStream.hh>
List of all members.
Public Member Functions |
| XrdOucStream (XrdSysError *erobj=0, const char *ifname=0, XrdOucEnv *anEnv=0, const char *Pfx=0) |
| ~XrdOucStream () |
int | Attach (int FileDescriptor, int bsz=2047) |
int | AttachIO (int infd, int outfd, int bsz=2047) |
void | Close (int hold=0) |
int | Detach () |
int | Drain () |
void | Echo () |
int | Exec (const char *, int inrd=0, int efd=0) |
int | Exec (char **, int inrd=0, int efd=0) |
int | FDNum () |
int | FENum () |
void | Flush () |
char * | GetLine () |
char * | GetToken (int lowcase=0) |
char * | GetToken (char **rest, int lowcase=0) |
void | RetToken () |
char * | GetFirstWord (int lowcase=0) |
char * | GetMyFirstWord (int lowcase=0) |
int | GetRest (char *theBuf, int Blen, int lowcase=0) |
char * | GetWord (int lowcase=0) |
int | isAlive () |
int | LastError () |
char * | LastLine () |
int | noEcho () |
int | Put (const char *data, const int dlen) |
int | Put (const char *data) |
int | Put (const char *data[], const int dlen[]) |
int | PutLine (const char *data, int dlen=0) |
XrdOucEnv * | SetEnv (XrdOucEnv *newEnv) |
void | SetEroute (XrdSysError *eroute) |
void | Tabs (int x=1) |
int | Wait4Data (int msMax=-1) |
Private Member Functions |
char * | add2llB (char *tok, int reset=0) |
char * | doelse () |
char * | doif () |
int | isSet (char *var) |
char * | vSubs (char *Var) |
int | xMsg (const char *txt1, const char *txt2=0, const char *txt3=0) |
Private Attributes |
int | FD |
int | FE |
int | bsize |
int | bleft |
char * | buff |
char * | bnext |
char * | recp |
char * | token |
int | flags |
pid_t | child |
int | ecode |
int | notabs |
int | xcont |
int | xline |
char * | myInst |
char * | myHost |
char * | myName |
char * | myExec |
XrdSysError * | Eroute |
XrdOucEnv * | myEnv |
char * | varVal |
const char * | llPrefix |
char * | llBuff |
char * | llBcur |
int | llBleft |
char | Verbose |
char | sawif |
char | skpel |
char | llBok |
Static Private Attributes |
static const int | maxVLen = 512 |
static const int | llBsz = 1024 |
Constructor & Destructor Documentation
XrdOucStream::XrdOucStream |
( |
XrdSysError * |
erobj = 0 , |
|
|
const char * |
ifname = 0 , |
|
|
XrdOucEnv * |
anEnv = 0 , |
|
|
const char * |
Pfx = 0 | |
|
) |
| | |
XrdOucStream::~XrdOucStream |
( |
|
) |
[inline] |
Member Function Documentation
char* XrdOucStream::add2llB |
( |
char * |
tok, |
|
|
int |
reset = 0 | |
|
) |
| | [private] |
int XrdOucStream::Attach |
( |
int |
FileDescriptor, |
|
|
int |
bsz = 2047 | |
|
) |
| | |
int XrdOucStream::AttachIO |
( |
int |
infd, |
|
|
int |
outfd, |
|
|
int |
bsz = 2047 | |
|
) |
| | |
void XrdOucStream::Close |
( |
int |
hold = 0 |
) |
|
int XrdOucStream::Detach |
( |
|
) |
[inline] |
char* XrdOucStream::doelse |
( |
|
) |
[private] |
char* XrdOucStream::doif |
( |
|
) |
[private] |
int XrdOucStream::Drain |
( |
|
) |
|
void XrdOucStream::Echo |
( |
|
) |
|
int XrdOucStream::Exec |
( |
char ** |
, |
|
|
int |
inrd = 0 , |
|
|
int |
efd = 0 | |
|
) |
| | |
int XrdOucStream::Exec |
( |
const char * |
, |
|
|
int |
inrd = 0 , |
|
|
int |
efd = 0 | |
|
) |
| | |
int XrdOucStream::FDNum |
( |
|
) |
[inline] |
int XrdOucStream::FENum |
( |
|
) |
[inline] |
void XrdOucStream::Flush |
( |
|
) |
[inline] |
char* XrdOucStream::GetFirstWord |
( |
int |
lowcase = 0 |
) |
|
char* XrdOucStream::GetLine |
( |
|
) |
|
char* XrdOucStream::GetMyFirstWord |
( |
int |
lowcase = 0 |
) |
|
int XrdOucStream::GetRest |
( |
char * |
theBuf, |
|
|
int |
Blen, |
|
|
int |
lowcase = 0 | |
|
) |
| | |
char* XrdOucStream::GetToken |
( |
char ** |
rest, |
|
|
int |
lowcase = 0 | |
|
) |
| | |
char* XrdOucStream::GetToken |
( |
int |
lowcase = 0 |
) |
|
char* XrdOucStream::GetWord |
( |
int |
lowcase = 0 |
) |
|
int XrdOucStream::isAlive |
( |
|
) |
[inline] |
int XrdOucStream::isSet |
( |
char * |
var |
) |
[private] |
int XrdOucStream::LastError |
( |
|
) |
[inline] |
char* XrdOucStream::LastLine |
( |
|
) |
[inline] |
int XrdOucStream::noEcho |
( |
|
) |
[inline] |
int XrdOucStream::Put |
( |
const char * |
data[], |
|
|
const int |
dlen[] | |
|
) |
| | |
int XrdOucStream::Put |
( |
const char * |
data |
) |
[inline] |
int XrdOucStream::Put |
( |
const char * |
data, |
|
|
const int |
dlen | |
|
) |
| | |
int XrdOucStream::PutLine |
( |
const char * |
data, |
|
|
int |
dlen = 0 | |
|
) |
| | |
void XrdOucStream::RetToken |
( |
|
) |
|
void XrdOucStream::SetEroute |
( |
XrdSysError * |
eroute |
) |
[inline] |
void XrdOucStream::Tabs |
( |
int |
x = 1 |
) |
[inline] |
char* XrdOucStream::vSubs |
( |
char * |
Var |
) |
[private] |
int XrdOucStream::Wait4Data |
( |
int |
msMax = -1 |
) |
|
int XrdOucStream::xMsg |
( |
const char * |
txt1, |
|
|
const char * |
txt2 = 0 , |
|
|
const char * |
txt3 = 0 | |
|
) |
| | [private] |
Member Data Documentation
The documentation for this class was generated from the following file: