XRootD
Loading...
Searching...
No Matches
XrdNetBuffer Class Reference

#include <XrdNetBuffer.hh>

+ Collaboration diagram for XrdNetBuffer:

Public Member Functions

 XrdNetBuffer (XrdNetBufferQ *bq)
 
 ~XrdNetBuffer ()
 
int BuffSize (void)
 
void Recycle (void)
 

Public Attributes

char * data
 
int dlen
 

Friends

class XrdNetBufferQ
 

Detailed Description

Definition at line 71 of file XrdNetBuffer.hh.

Constructor & Destructor Documentation

◆ XrdNetBuffer()

XrdNetBuffer::XrdNetBuffer ( XrdNetBufferQ * bq)

Definition at line 138 of file XrdNetBuffer.cc.

138 : BuffLink(this)
139{
140 BuffQ= bq;
141 data = 0;
142 dlen = 0;
143}

References data, and dlen.

◆ ~XrdNetBuffer()

XrdNetBuffer::~XrdNetBuffer ( )
inline

Definition at line 84 of file XrdNetBuffer.hh.

84{if (data) free(data);}

References data.

Member Function Documentation

◆ BuffSize()

int XrdNetBuffer::BuffSize ( void )
inline

Definition at line 79 of file XrdNetBuffer.hh.

79{return BuffQ->BuffSize();}
int BuffSize(void)

References XrdNetBufferQ::BuffSize().

+ Here is the call graph for this function:

◆ Recycle()

void XrdNetBuffer::Recycle ( void )
inline

Definition at line 81 of file XrdNetBuffer.hh.

81{BuffQ->Recycle(this);}
void Recycle(XrdNetBuffer *bp)

References XrdNetBufferQ::Recycle().

Referenced by XrdNetPeer::~XrdNetPeer().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ XrdNetBufferQ

friend class XrdNetBufferQ
friend

Definition at line 73 of file XrdNetBuffer.hh.

Member Data Documentation

◆ data

char* XrdNetBuffer::data

Definition at line 76 of file XrdNetBuffer.hh.

Referenced by XrdNetBuffer(), ~XrdNetBuffer(), and XrdNetBufferQ::Alloc().

◆ dlen

int XrdNetBuffer::dlen

Definition at line 77 of file XrdNetBuffer.hh.

Referenced by XrdNetBuffer(), and XrdNetBufferQ::Recycle().


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