XRootD
XrdSsiStream::Buffer Class Referenceabstract

#include <XrdSsiStream.hh>

+ Collaboration diagram for XrdSsiStream::Buffer:

Public Member Functions

 Buffer (char *dp=0)
 

For chaining by buffer receiver

More...
 
virtual ~Buffer ()
 
virtual void Recycle ()=0
 

Public Attributes

char * data
 

Call to recycle the buffer when finished

More...
 
Buffernext
 

-> Buffer containing the data

More...
 

Detailed Description

The Buffer object is returned by active streams as they supply the buffer holding the requested data. Once the buffer is no longer needed it must be recycled by calling Recycle().

Definition at line 63 of file XrdSsiStream.hh.

Constructor & Destructor Documentation

◆ Buffer()

XrdSsiStream::Buffer::Buffer ( char *  dp = 0)
inline

For chaining by buffer receiver

Definition at line 71 of file XrdSsiStream.hh.

71 : data(dp), next(0) {}
Buffer * next
-> Buffer containing the data
Definition: XrdSsiStream.hh:69
char * data
Call to recycle the buffer when finished
Definition: XrdSsiStream.hh:68

◆ ~Buffer()

virtual XrdSsiStream::Buffer::~Buffer ( )
inlinevirtual

Definition at line 72 of file XrdSsiStream.hh.

72 {}

Member Function Documentation

◆ Recycle()

virtual void XrdSsiStream::Buffer::Recycle ( )
pure virtual

Member Data Documentation

◆ data

char* XrdSsiStream::Buffer::data

Call to recycle the buffer when finished

Definition at line 68 of file XrdSsiStream.hh.

◆ next

Buffer* XrdSsiStream::Buffer::next

-> Buffer containing the data

Definition at line 69 of file XrdSsiStream.hh.


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