ROOT  6.06/08
Reference Guide
Public Member Functions | Static Public Member Functions | Public Attributes | Private Attributes | Static Private Attributes | List of all members
TXSockBuf Class Reference

Definition at line 254 of file TXSocket.h.

Public Member Functions

 TXSockBuf (Char_t *bp=0, Int_t sz=0, Bool_t own=1)
 constructor More...
 
 ~TXSockBuf ()
 destructor More...
 
void Resize (Int_t sz)
 resize socket buffer More...
 

Static Public Member Functions

static Long64_t BuffMem ()
 Return the currently allocated memory. More...
 
static Long64_t GetMemMax ()
 Return the max allocated memory allowed. More...
 
static void SetMemMax (Long64_t memmax)
 Return the max allocated memory allowed. More...
 

Public Attributes

Int_t fSiz
 
Int_t fLen
 
Char_tfBuf
 
Bool_t fOwn
 
Int_t fCid
 

Private Attributes

Char_tfMem
 

Static Private Attributes

static Long64_t fgBuffMem = 0
 
static Long64_t fgMemMax = 10485760
 

#include <TXSocket.h>

Constructor & Destructor Documentation

§ TXSockBuf()

TXSockBuf::TXSockBuf ( Char_t bp = 0,
Int_t  sz = 0,
Bool_t  own = 1 
)

constructor

Definition at line 2187 of file TXSocket.cxx.

§ ~TXSockBuf()

TXSockBuf::~TXSockBuf ( )

destructor

Definition at line 2199 of file TXSocket.cxx.

Member Function Documentation

§ BuffMem()

Long64_t TXSockBuf::BuffMem ( )
static

Return the currently allocated memory.

Definition at line 2230 of file TXSocket.cxx.

Referenced by TXSocket::PushBackSpare().

§ GetMemMax()

Long64_t TXSockBuf::GetMemMax ( )
static

Return the max allocated memory allowed.

Definition at line 2238 of file TXSocket.cxx.

Referenced by TXSocket::PushBackSpare().

§ Resize()

void TXSockBuf::Resize ( Int_t  sz)

resize socket buffer

Definition at line 2210 of file TXSocket.cxx.

Referenced by TXSocket::PopUpSpare().

§ SetMemMax()

void TXSockBuf::SetMemMax ( Long64_t  memmax)
static

Return the max allocated memory allowed.

Definition at line 2246 of file TXSocket.cxx.

Member Data Documentation

§ fBuf

Char_t* TXSockBuf::fBuf

§ fCid

Int_t TXSockBuf::fCid

Definition at line 260 of file TXSocket.h.

Referenced by TXSocket::PickUpReady(), and TXSocket::ProcessUnsolicitedMsg().

§ fgBuffMem

Long64_t TXSockBuf::fgBuffMem = 0
staticprivate

Definition at line 273 of file TXSocket.h.

Referenced by TXSocket::DoError().

§ fgMemMax

Long64_t TXSockBuf::fgMemMax = 10485760
staticprivate

Definition at line 274 of file TXSocket.h.

Referenced by TXSocket::DoError().

§ fLen

Int_t TXSockBuf::fLen

§ fMem

Char_t* TXSockBuf::fMem
private

Definition at line 272 of file TXSocket.h.

§ fOwn

Bool_t TXSockBuf::fOwn

Definition at line 259 of file TXSocket.h.

§ fSiz

Int_t TXSockBuf::fSiz

Definition at line 256 of file TXSocket.h.

Referenced by TXSocket::PopUpSpare(), and TXSocket::PushBackSpare().


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