ROOT  6.06/09
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 255 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 ( Char_t bp = 0,
Int_t  sz = 0,
Bool_t  own = 1 
)

constructor

Definition at line 2131 of file TXSocket.cxx.

TXSockBuf::~TXSockBuf ( )

destructor

Definition at line 2143 of file TXSocket.cxx.

Member Function Documentation

Long64_t TXSockBuf::BuffMem ( )
static

Return the currently allocated memory.

Definition at line 2174 of file TXSocket.cxx.

Referenced by TXSocket::PushBackSpare().

Long64_t TXSockBuf::GetMemMax ( )
static

Return the max allocated memory allowed.

Definition at line 2182 of file TXSocket.cxx.

Referenced by TXSocket::PushBackSpare().

void TXSockBuf::Resize ( Int_t  sz)

resize socket buffer

Definition at line 2154 of file TXSocket.cxx.

Referenced by TXSocket::PopUpSpare().

void TXSockBuf::SetMemMax ( Long64_t  memmax)
static

Return the max allocated memory allowed.

Definition at line 2190 of file TXSocket.cxx.

Member Data Documentation

Char_t* TXSockBuf::fBuf
Int_t TXSockBuf::fCid

Definition at line 261 of file TXSocket.h.

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

Long64_t TXSockBuf::fgBuffMem = 0
staticprivate

Definition at line 274 of file TXSocket.h.

Referenced by BuffMem(), Resize(), TXSockBuf(), and ~TXSockBuf().

Long64_t TXSockBuf::fgMemMax = 10485760
staticprivate

Definition at line 275 of file TXSocket.h.

Referenced by GetMemMax(), and SetMemMax().

Int_t TXSockBuf::fLen
Char_t* TXSockBuf::fMem
private

Definition at line 273 of file TXSocket.h.

Referenced by Resize(), TXSockBuf(), and ~TXSockBuf().

Bool_t TXSockBuf::fOwn

Definition at line 260 of file TXSocket.h.

Referenced by TXSockBuf(), and ~TXSockBuf().

Int_t TXSockBuf::fSiz

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