Definition at line 54 of file XrdProofdProtocol.h.
|
static int | Configure (char *parms, XrdProtocol_Config *pi) |
| Protocol configuration tool Function: Establish configuration at load time.
|
|
static int | EUidAtStartup () |
|
static XrdBuffer * | GetBuff (int quantum, XrdBuffer *argp=0) |
| Allocate a buffer to handle quantum bytes; if argp points to an existing buffer, its size is checked and re-allocated if needed.
|
|
static int | MaxBuffsz () |
|
static XrdProofdManager * | Mgr () |
|
static void | ReleaseBuff (XrdBuffer *argp) |
| Release a buffer previously allocated via GetBuff.
|
|
#include <XrdProofdProtocol.h>
◆ XrdProofdProtocol()
XrdProofdProtocol::XrdProofdProtocol |
( |
XrdProtocol_Config * |
pi = 0 | ) |
|
◆ ~XrdProofdProtocol()
virtual XrdProofdProtocol::~XrdProofdProtocol |
( |
| ) |
|
|
inlinevirtual |
◆ Argp()
XrdBuffer * XrdProofdProtocol::Argp |
( |
| ) |
const |
|
inline |
◆ AuthProt()
XrdSecProtocol * XrdProofdProtocol::AuthProt |
( |
| ) |
const |
|
inline |
◆ CID()
kXR_int32 XrdProofdProtocol::CID |
( |
| ) |
const |
|
inline |
◆ Client()
◆ Configure()
int XrdProofdProtocol::Configure |
( |
char * |
parms, |
|
|
XrdProtocol_Config * |
pi |
|
) |
| |
|
static |
Protocol configuration tool Function: Establish configuration at load time.
Output: 1 upon success or 0 otherwise.
Definition at line 429 of file XrdProofdProtocol.cxx.
◆ ConnType()
int XrdProofdProtocol::ConnType |
( |
| ) |
const |
|
inline |
◆ CtrlC()
int XrdProofdProtocol::CtrlC |
( |
| ) |
|
|
private |
◆ DoIt()
void XrdProofdProtocol::DoIt |
( |
| ) |
|
|
inline |
◆ EUidAtStartup()
static int XrdProofdProtocol::EUidAtStartup |
( |
| ) |
|
|
inlinestatic |
◆ GetBuff()
XrdBuffer * XrdProofdProtocol::GetBuff |
( |
int |
quantum, |
|
|
XrdBuffer * |
argp = 0 |
|
) |
| |
|
static |
Allocate a buffer to handle quantum bytes; if argp points to an existing buffer, its size is checked and re-allocated if needed.
Definition at line 721 of file XrdProofdProtocol.cxx.
◆ GetData()
int XrdProofdProtocol::GetData |
( |
const char * |
dtype, |
|
|
char * |
buff, |
|
|
int |
blen |
|
) |
| |
◆ GetNewResponse()
◆ GroupIn()
const char * XrdProofdProtocol::GroupIn |
( |
| ) |
const |
|
inline |
◆ Internal()
bool XrdProofdProtocol::Internal |
( |
| ) |
|
|
inline |
◆ Interrupt()
int XrdProofdProtocol::Interrupt |
( |
| ) |
|
|
private |
◆ IsCtrlC()
bool XrdProofdProtocol::IsCtrlC |
( |
| ) |
|
|
inline |
◆ Link()
XrdLink * XrdProofdProtocol::Link |
( |
| ) |
const |
|
inline |
◆ Match()
◆ MaxBuffsz()
static int XrdProofdProtocol::MaxBuffsz |
( |
| ) |
|
|
inlinestatic |
◆ Mgr()
◆ Pid()
int XrdProofdProtocol::Pid |
( |
| ) |
const |
|
inline |
◆ Ping()
int XrdProofdProtocol::Ping |
( |
| ) |
|
|
private |
Handle a ping request.
For internal connections, ping is done asynchronously to avoid locking problems; the session checker verifies that the admin file has been touched recently enough; touching is done in Process2, so we have nothing to do here
Definition at line 1174 of file XrdProofdProtocol.cxx.
◆ PostSession()
◆ Process()
int XrdProofdProtocol::Process |
( |
XrdLink * |
lp | ) |
|
Process the information received on the active link.
(We ignore the argument here)
Definition at line 496 of file XrdProofdProtocol.cxx.
◆ Process2()
int XrdProofdProtocol::Process2 |
( |
| ) |
|
|
private |
Local processing method: here the request is dispatched to the appropriate method.
Definition at line 558 of file XrdProofdProtocol.cxx.
◆ ProofProtocol()
short int XrdProofdProtocol::ProofProtocol |
( |
| ) |
const |
|
inline |
◆ Recycle()
void XrdProofdProtocol::Recycle |
( |
XrdLink * |
lp, |
|
|
int |
x, |
|
|
const char * |
y |
|
) |
| |
◆ ReleaseBuff()
void XrdProofdProtocol::ReleaseBuff |
( |
XrdBuffer * |
argp | ) |
|
|
static |
◆ Request()
◆ Reset()
void XrdProofdProtocol::Reset |
( |
| ) |
|
|
private |
◆ ResetCtrlC()
void XrdProofdProtocol::ResetCtrlC |
( |
| ) |
|
|
inline |
◆ Response()
◆ SendData()
Send data over the open link. Segmentation is done here, if required.
Definition at line 799 of file XrdProofdProtocol.cxx.
◆ SendDataN()
Send data over the open client links of session 'xps'.
Used when all the connected clients are eligible to receive the message. Segmentation is done here, if required.
Definition at line 875 of file XrdProofdProtocol.cxx.
◆ SendMsg()
int XrdProofdProtocol::SendMsg |
( |
| ) |
|
|
private |
◆ SetAdminPath()
void XrdProofdProtocol::SetAdminPath |
( |
const char * |
p | ) |
|
|
inline |
◆ SetAuthEntity()
void XrdProofdProtocol::SetAuthEntity |
( |
XrdSecEntity * |
se = 0 | ) |
|
|
inline |
◆ SetAuthProt()
void XrdProofdProtocol::SetAuthProt |
( |
XrdSecProtocol * |
p | ) |
|
|
inline |
◆ SetCID()
void XrdProofdProtocol::SetCID |
( |
kXR_int32 |
cid | ) |
|
|
inline |
◆ SetClient()
◆ SetClntCapVer()
void XrdProofdProtocol::SetClntCapVer |
( |
unsigned char |
c | ) |
|
|
inline |
◆ SetConnType()
void XrdProofdProtocol::SetConnType |
( |
int |
ct | ) |
|
|
inline |
◆ SetGroupIn()
void XrdProofdProtocol::SetGroupIn |
( |
const char * |
gin | ) |
|
|
inline |
◆ SetPid()
void XrdProofdProtocol::SetPid |
( |
int |
pid | ) |
|
|
inline |
◆ SetProofProtocol()
void XrdProofdProtocol::SetProofProtocol |
( |
short int |
pp | ) |
|
|
inline |
◆ SetStatus()
void XrdProofdProtocol::SetStatus |
( |
char |
s | ) |
|
|
inline |
◆ SetSuperUser()
void XrdProofdProtocol::SetSuperUser |
( |
bool |
su = 1 | ) |
|
|
inline |
◆ SetTraceID()
void XrdProofdProtocol::SetTraceID |
( |
| ) |
|
|
inline |
◆ SetUserIn()
void XrdProofdProtocol::SetUserIn |
( |
const char * |
uin | ) |
|
|
inline |
◆ Stats()
int XrdProofdProtocol::Stats |
( |
char * |
buff, |
|
|
int |
blen, |
|
|
int |
do_sync |
|
) |
| |
Return statistics info about the protocol.
Not really implemented yet: this is a reduced XrdXrootd version.
Definition at line 380 of file XrdProofdProtocol.cxx.
◆ Status()
char XrdProofdProtocol::Status |
( |
| ) |
const |
|
inline |
◆ SuperUser()
bool XrdProofdProtocol::SuperUser |
( |
| ) |
const |
|
inline |
◆ TouchAdminPath()
void XrdProofdProtocol::TouchAdminPath |
( |
| ) |
|
|
private |
◆ TraceID()
const char * XrdProofdProtocol::TraceID |
( |
| ) |
const |
|
inline |
◆ Urgent()
int XrdProofdProtocol::Urgent |
( |
| ) |
|
|
private |
Handle generic request of a urgent message to be forwarded to the server.
Definition at line 1050 of file XrdProofdProtocol.cxx.
◆ UserIn()
const char * XrdProofdProtocol::UserIn |
( |
| ) |
const |
|
inline |
◆ fAdminPath
XrdOucString XrdProofdProtocol::fAdminPath |
|
private |
◆ fArgp
XrdBuffer* XrdProofdProtocol::fArgp |
|
private |
◆ fAuthProt
XrdSecProtocol* XrdProofdProtocol::fAuthProt |
|
private |
◆ fCID
kXR_int32 XrdProofdProtocol::fCID |
|
private |
◆ fClntCapVer
unsigned char XrdProofdProtocol::fClntCapVer |
|
private |
◆ fConnType
kXR_int32 XrdProofdProtocol::fConnType |
|
private |
◆ fCtrlcMutex
◆ fgBMutex
◆ fgBPool
XrdBuffManager * XrdProofdProtocol::fgBPool = 0 |
|
staticprivate |
◆ fgConfigDone
bool XrdProofdProtocol::fgConfigDone = 0 |
|
staticprivate |
◆ fgCount
int XrdProofdProtocol::fgCount = 0 |
|
staticprivate |
◆ fgEDest
◆ fgEUidAtStartup
int XrdProofdProtocol::fgEUidAtStartup = -1 |
|
staticprivate |
◆ fgLogger
◆ fgMaxBuffsz
int XrdProofdProtocol::fgMaxBuffsz = 0 |
|
staticprivate |
◆ fgMgr
◆ fgProtStack
◆ fgReadWait
int XrdProofdProtocol::fgReadWait = 0 |
|
staticprivate |
◆ fGroupIn
XrdOucString XrdProofdProtocol::fGroupIn |
|
private |
◆ fIsCtrlC
bool XrdProofdProtocol::fIsCtrlC |
|
private |
◆ fLink
XrdLink* XrdProofdProtocol::fLink |
|
private |
◆ fMutex
◆ fPClient
◆ fPid
int XrdProofdProtocol::fPid |
|
private |
◆ fProofProtocol
short int XrdProofdProtocol::fProofProtocol |
|
private |
◆ fProtLink
◆ fRequest
◆ fResponses
◆ fSecClient
XrdSecEntity* XrdProofdProtocol::fSecClient |
|
private |
◆ fSecEntity
XrdSecEntity XrdProofdProtocol::fSecEntity |
|
private |
◆ fStatus
char XrdProofdProtocol::fStatus |
|
private |
◆ fStdErrFD
int XrdProofdProtocol::fStdErrFD |
|
private |
◆ fSuperUser
bool XrdProofdProtocol::fSuperUser |
|
private |
◆ fTraceID
XrdOucString XrdProofdProtocol::fTraceID |
|
private |
◆ fUserIn
XrdOucString XrdProofdProtocol::fUserIn |
|
private |