ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TXSocket.h
Go to the documentation of this file.
1 // @(#)root/proofx:$Id$
2 // Author: G. Ganis Oct 2005
3 
4 /*************************************************************************
5  * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
6  * All rights reserved. *
7  * *
8  * For the licensing terms see $ROOTSYS/LICENSE. *
9  * For the list of contributors see $ROOTSYS/README/CREDITS. *
10  *************************************************************************/
11 
12 #ifndef ROOT_TXSocket
13 #define ROOT_TXSocket
14 
15 //////////////////////////////////////////////////////////////////////////
16 // //
17 // TXSocket //
18 // //
19 // High level handler of connections to xproofd. //
20 // //
21 //////////////////////////////////////////////////////////////////////////
22 
23 #define DFLT_CONNECTMAXTRY 10
24 
25 #ifndef ROOT_TSemaphore
26 #include "TSemaphore.h"
27 #endif
28 #ifndef ROOT_TString
29 #include "TString.h"
30 #endif
31 #ifndef ROOT_TList
32 #include "TList.h"
33 #endif
34 #ifndef ROOT_TMessage
35 #include "TMessage.h"
36 #endif
37 #ifndef ROOT_TUrl
38 #include "TUrl.h"
39 #endif
40 #ifndef ROOT_TSocket
41 #include "TSocket.h"
42 #endif
43 #ifndef ROOT_XrdProofConn
44 #include "XrdProofConn.h"
45 #endif
46 #ifndef XRC_UNSOLMSG_H
47 #include "XrdClient/XrdClientUnsolMsg.hh"
48 #endif
49 
50 #include <list>
51 #include <mutex>
52 
53 class TObjString;
54 class TXSockBuf;
55 class TXSockPipe;
56 class TXHandler;
57 class TXSocketHandler;
58 class XrdClientMessage;
59 
60 // To transmit info to Handlers
61 typedef struct {
66 } XHandleIn_t;
67 typedef struct {
69  const char *fMsg;
70 } XHandleErr_t;
71 
72 class TXSocket : public TSocket, public XrdClientAbsUnsolMsgHandler {
73 
74 friend class TXProofMgr;
75 friend class TXProofServ;
76 friend class TXSlave;
77 friend class TXSocketHandler;
78 friend class TXSockPipe;
79 friend class TXUnixSocket;
80 
81 private:
82  char fMode; // 'e' (def) or 'i' (internal - proofsrv)
83  kXR_int32 fSendOpt; // Options for sending messages
84  Short_t fSessionID; // proofsrv: remote ID of connected session
85  TString fUser; // Username used for login
86  TString fHost; // Remote host
87  Int_t fPort; // Remote port
88 
89  Int_t fLogLevel; // Log level to be transmitted to servers
90 
91  TString fBuffer; // Container for exchanging information
92  TObject *fReference; // Generic object reference of this socket
93  TXHandler *fHandler; // Handler of asynchronous events (input, error)
94 
95  XrdProofConn *fConn; // instance of the underlying connection module
96 
97  // Asynchronous messages
98  TSemaphore fASem; // Control access to conn async msg queue
99  std::recursive_mutex fAMtx; // To protect async msg queue
100  Bool_t fAWait; // kTRUE if waiting at the async msg queue
101  std::list<TXSockBuf *> fAQue; // list of asynchronous messages
102  Int_t fByteLeft; // bytes left in the first buffer
103  Int_t fByteCur; // current position in the first buffer
104  TXSockBuf *fBufCur; // current read buffer
105 
106  TSemaphore fAsynProc; // Control actions while processing async messages
107 
108  // Interrupts
109  std::recursive_mutex fIMtx; // To protect interrupt queue
110  kXR_int32 fILev; // Highest received interrupt
111  Bool_t fIForward; // Whether the interrupt should be propagated
112 
113  // Process ID of the instatiating process (to signal interrupts)
115 
116  // Whether to timeout or not
117  Bool_t fDontTimeout; // If true wait forever for incoming messages
118  Bool_t fRDInterrupt; // To interrupt waiting for messages
119 
120  // Version of the remote XrdProofdProtocol
122 
123  // Static area for input handling
124  static TXSockPipe fgPipe; // Pipe for input monitoring
125  static TString fgLoc; // Location string
126  static Bool_t fgInitDone; // Avoid initializing more than once
127 
128  // List of spare buffers
129  static std::mutex fgSMtx; // To protect spare list
130  static std::list<TXSockBuf *> fgSQue; // list of spare buffers
131 
132  // Manage asynchronous message
133  Int_t PickUpReady();
135  void PushBackSpare();
136 
137  // Post a message into the queue for asynchronous processing
138  void PostMsg(Int_t type, const char *msg = 0);
139 
140  // Wake up all threads waiting for at the semaphore (used by TXSlave)
141  void PostSemAll();
142 
143  // Auxilliary
144  Int_t GetLowSocket() const { return (fConn ? fConn->GetLowSocket() : -1); }
145 
146  static void SetLocation(const char *loc = ""); // Set location string
147 
148  static void InitEnvs(); // Initialize environment variables
149 
150 public:
151  // Should be the same as in proofd/src/XrdProofdProtocol::Urgent
152  enum EUrgentMsgType { kStopProcess = 2000 };
153 
154  TXSocket(const char *url, Char_t mode = 'M', Int_t psid = -1, Char_t ver = -1,
155  const char *logbuf = 0, Int_t loglevel = -1, TXHandler *handler = 0);
156  virtual ~TXSocket();
157 
158  virtual void Close(Option_t *opt = "");
159  Bool_t Create(Bool_t attach = kFALSE);
160  void DisconnectSession(Int_t id, Option_t *opt = "");
161 
162  void DoError(int level,
163  const char *location, const char *fmt, va_list va) const;
164 
165  virtual UnsolRespProcResult ProcessUnsolicitedMsg(XrdClientUnsolMsgSender *s,
166  XrdClientMessage *msg);
167 
168  virtual Int_t GetClientID() const { return -1; }
169  virtual Int_t GetClientIDSize() const { return 1; }
170  Int_t GetLogConnID() const { return (fConn ? fConn->GetLogConnID() : -1); }
171  Int_t GetOpenError() const { return (fConn ? fConn->GetOpenError() : -1); }
172  Int_t GetServType() const { return (fConn ? fConn->GetServType() : -1); }
173  Int_t GetSessionID() const { return (fConn ? fConn->GetSessionID() : -1); }
175 
176  Bool_t IsValid() const { return (fConn ? (fConn->IsValid()) : kFALSE); }
178  virtual void RemoveClientID() { }
179  virtual void SetClientID(Int_t) { }
181  void SetSessionID(Int_t id);
182 
183  // Send interfaces
184  Int_t Send(const TMessage &mess);
185  Int_t Send(Int_t kind) { return TSocket::Send(kind); }
187  { return TSocket::Send(status, kind); }
188  Int_t Send(const char *mess, Int_t kind = kMESS_STRING)
189  { return TSocket::Send(mess, kind); }
190  Int_t SendRaw(const void *buf, Int_t len,
192 
193  TObjString *SendCoordinator(Int_t kind, const char *msg = 0, Int_t int2 = 0,
194  Long64_t l64 = 0, Int_t int3 = 0, const char *opt = 0);
195 
196  // Recv interfaces
197  Int_t Recv(TMessage *&mess);
199  { return TSocket::Recv(status, kind); }
200  Int_t Recv(char *mess, Int_t max)
201  { return TSocket::Recv(mess, max); }
202  Int_t Recv(char *mess, Int_t max, Int_t &kind)
203  { return TSocket::Recv(mess, max, kind); }
204  Int_t RecvRaw(void *buf, Int_t len,
205  ESendRecvOptions opt = kDefault);
206 
207  // Interrupts
209  Int_t GetInterrupt(Bool_t &forward);
210 
211  // Urgent message
212  void SendUrgent(Int_t type, Int_t int1, Int_t int2);
213 
214  // Interrupt the low level socket
215  inline void SetInterrupt(Bool_t i = kTRUE) {
216  std::lock_guard<std::recursive_mutex> lock(fAMtx);
217  fRDInterrupt = i;
218  if (i && fConn) fConn->SetInterrupt();
219  if (i && fAWait) fASem.Post(); }
220  inline Bool_t IsInterrupt() { std::lock_guard<std::recursive_mutex> lock(fAMtx);
221  return fRDInterrupt; }
222  // Set / Check async msg queue waiting status
223  inline void SetAWait(Bool_t w = kTRUE) {
224  std::lock_guard<std::recursive_mutex> lock(fAMtx);
225  fAWait = w; }
226  inline Bool_t IsAWait() { std::lock_guard<std::recursive_mutex> lock(fAMtx);
227  return fAWait; }
228  // Flush the asynchronous queue
229  Int_t Flush();
230 
231  // Ping the counterpart
232  Bool_t Ping(const char *ord = 0);
233 
234  // Request remote touch of the admin file associated with this connection
235  void RemoteTouch();
236  // Propagate a Ctrl-C
237  void CtrlC();
238 
239  // Standard options cannot be set
241 
242  // Disable / Enable read timeout
245 
246  // Try reconnection after error
247  virtual Int_t Reconnect();
248 
249  ClassDef(TXSocket, 0) //A high level connection class for PROOF
250 };
251 
252 
253 //
254 // The following structure is used to store buffers received asynchronously
255 //
256 class TXSockBuf {
257 public:
263 
264  TXSockBuf(Char_t *bp=0, Int_t sz=0, Bool_t own=1);
265  ~TXSockBuf();
266 
267  void Resize(Int_t sz);
268 
269  static Long64_t BuffMem();
270  static Long64_t GetMemMax();
271  static void SetMemMax(Long64_t memmax);
272 
273 private:
275  static Long64_t fgBuffMem; // Total allocated memory
276  static Long64_t fgMemMax; // Max allocated memory allowed
277 };
278 
279 //
280 // The following class describes internal pipes
281 //
282 class TXSockPipe {
283 public:
284 
285  TXSockPipe(const char *loc = "");
286  virtual ~TXSockPipe();
287 
288  Bool_t IsValid() const { return ((fPipe[0] >= 0 && fPipe[1] >= 0) ? kTRUE : kFALSE); }
289 
291 
292  Int_t GetRead() const { return fPipe[0]; }
293  Int_t Post(TSocket *s); // Notify socket ready via global pipe
294  Int_t Clean(TSocket *s); // Clean previous pipe notification
295  Int_t Flush(TSocket *s); // Remove any instance of 's' from the pipe
296  void DumpReadySock();
297 
298  void SetLoc(const char *loc = "") { fLoc = loc; }
299 
300 private:
301  std::recursive_mutex fMutex; // Protect access to the sockets-ready list
302  Int_t fPipe[2]; // Pipe for input monitoring
303  TString fLoc; // Location string
304  TList fReadySock; // List of sockets ready to be read
305 };
306 
307 //
308 // Guard for a semaphore
309 //
311 public:
312 
314  virtual ~TXSemaphoreGuard() { if (fValid && fSem) fSem->Post(); }
315 
316  Bool_t IsValid() const { return fValid; }
317 
318 private:
321 };
322 
323 #endif
void SetSendOpt(ESendRecvOptions o)
Definition: TXSocket.h:180
TXSocket(const char *url, Char_t mode= 'M', Int_t psid=-1, Char_t ver=-1, const char *logbuf=0, Int_t loglevel=-1, TXHandler *handler=0)
Constructor Open the connection to a remote XrdProofd instance and start a PROOF session.
Definition: TXSocket.cxx:127
Int_t fCid
Definition: TXSocket.h:262
static void SetLocation(const char *loc="")
Set location string.
Definition: TXSocket.cxx:242
Bool_t IsValid() const
Definition: TXSocket.h:176
virtual void RemoveClientID()
Definition: TXSocket.h:178
virtual void SetClientID(Int_t)
Definition: TXSocket.h:179
Int_t Send(const char *mess, Int_t kind=kMESS_STRING)
Send a character string buffer.
Definition: TXSocket.h:188
TSemaphore fAsynProc
Definition: TXSocket.h:106
Int_t Recv(Int_t &status, Int_t &kind)
Receives a status and a message type.
Definition: TXSocket.h:198
long long Long64_t
Definition: RtypesCore.h:69
Int_t SendRaw(const void *buf, Int_t len, ESendRecvOptions opt=kDontBlock)
Send a raw buffer of specified length.
Definition: TXSocket.cxx:1179
TSemaphore fASem
Definition: TXSocket.h:98
void SetLoc(const char *loc="")
Definition: TXSocket.h:298
Int_t Recv(char *mess, Int_t max)
Receive a character string message of maximum max length.
Definition: TXSocket.h:200
Int_t GetXrdProofdVersion() const
Definition: TXSocket.h:174
Int_t fPipe[2]
Definition: TXSocket.h:302
Bool_t IsValid() const
Definition: TXSocket.h:288
Collectable string class.
Definition: TObjString.h:32
virtual void Close(Option_t *opt="")
Close connection.
Definition: TXSocket.cxx:311
Bool_t IsAWait()
Definition: TXSocket.h:226
const char Option_t
Definition: RtypesCore.h:62
ESockOptions
Definition: TSocket.h:52
Int_t fLogLevel
Definition: TXSocket.h:89
std::recursive_mutex fMutex
Definition: TXSocket.h:301
static Long64_t BuffMem()
Return the currently allocated memory.
Definition: TXSocket.cxx:2175
virtual Int_t Send(const TMessage &mess)
Send a TMessage object.
Definition: TSocket.cxx:520
virtual Int_t GetClientID() const
Definition: TXSocket.h:168
int GetLogConnID() const
Definition: XrdProofConn.h:140
XrdProofConn * fConn
Definition: TXSocket.h:95
char fMode
Definition: TXSocket.h:82
virtual Int_t Recv(TMessage *&mess)
Receive a TMessage object.
Definition: TSocket.cxx:818
EUrgentMsgType
Definition: TXSocket.h:152
Int_t TryWait()
If the semaphore value is > 0 then decrement it and return 0.
Definition: TSemaphore.cxx:87
virtual UnsolRespProcResult ProcessUnsolicitedMsg(XrdClientUnsolMsgSender *s, XrdClientMessage *msg)
We are here if an unsolicited response comes from a logical conn The response comes in the form of an...
Definition: TXSocket.cxx:368
~TXSockBuf()
destructor
Definition: TXSocket.cxx:2144
std::recursive_mutex fIMtx
Definition: TXSocket.h:109
Basic string class.
Definition: TString.h:137
TAlienJobStatus * status
Definition: TAlienJob.cxx:51
int Int_t
Definition: RtypesCore.h:41
bool Bool_t
Definition: RtypesCore.h:59
virtual ~TXSocket()
Destructor.
Definition: TXSocket.cxx:231
Int_t Recv(char *mess, Int_t max, Int_t &kind)
Receive a character string message of maximum max length.
Definition: TXSocket.h:202
const Bool_t kFALSE
Definition: Rtypes.h:92
int GetServType() const
Definition: XrdProofConn.h:143
Int_t GetServType() const
Definition: TXSocket.h:172
void SetInterrupt(Bool_t i=kTRUE)
Definition: TXSocket.h:215
void SetSessionID(Int_t id)
Set session ID to 'id'. If id < 0, disable also the asynchronous handler.
Definition: TXSocket.cxx:256
This is the version of TSlave for workers servers based on XProofD.
Definition: TXSlave.h:36
static std::mutex fgSMtx
Definition: TXSocket.h:129
Int_t fInt3
Definition: TXSocket.h:64
TXSocket * GetLastReady()
Return last ready socket.
Definition: TXSocket.cxx:2338
void RemoteTouch()
Remote touch functionality: contact the server to proof our vitality.
Definition: TXSocket.cxx:1308
Int_t fOpt
Definition: TXSocket.h:68
Int_t Post(TSocket *s)
Write a byte to the global pipe to signal new availibility of new messages.
Definition: TXSocket.cxx:2229
ESendRecvOptions
Definition: TSocket.h:65
Int_t fInt2
Definition: TXSocket.h:63
static Long64_t fgBuffMem
Definition: TXSocket.h:275
virtual ~TXSemaphoreGuard()
Definition: TXSocket.h:314
void SetInterrupt()
Interrupt the underlying socket.
Implementation of TXSocket using PF_UNIX sockets.
Definition: TXUnixSocket.h:31
Int_t Clean(TSocket *s)
Read a byte to the global pipe to synchronize message pickup.
Definition: TXSocket.cxx:2258
static Long64_t fgMemMax
Definition: TXSocket.h:276
Bool_t fAWait
Definition: TXSocket.h:100
Int_t fPort
Definition: TXSocket.h:87
Int_t RecvRaw(void *buf, Int_t len, ESendRecvOptions opt=kDefault)
Receive a raw buffer of specified length bytes.
Definition: TXSocket.cxx:1542
#define ClassDef(name, id)
Definition: Rtypes.h:254
static void InitEnvs()
Init environment variables for XrdClient.
Definition: TXSocket.cxx:1929
const char * ord
Definition: TXSlave.cxx:46
static std::list< TXSockBuf * > fgSQue
Definition: TXSocket.h:130
Int_t Send(const TMessage &mess)
Send a TMessage object.
Definition: TXSocket.cxx:1640
Int_t GetInterrupt(Bool_t &forward)
Get latest interrupt level and reset it; if the interrupt has to be propagated to lower stages forwar...
Definition: TXSocket.cxx:933
Bool_t fIForward
Definition: TXSocket.h:111
TXHandler * fHandler
Definition: TXSocket.h:93
Int_t GetLowSocket() const
Definition: TXSocket.h:144
virtual Int_t GetClientIDSize() const
Definition: TXSocket.h:169
TXSockBuf * PopUpSpare(Int_t sz)
Pop-up a buffer of at least size bytes from the spare list If none is found either one is reallocated...
Definition: TXSocket.cxx:1473
Bool_t IsServProofd()
Return kTRUE if the remote server is a 'proofd'.
Definition: TXSocket.cxx:920
TString fUser
Definition: TXSocket.h:85
int GetOpenError() const
Definition: XrdProofConn.h:142
Int_t fInt4
Definition: TXSocket.h:65
A doubly linked list.
Definition: TList.h:47
This class implements the XProofD version of TProofServ, with respect to which it differs only for th...
Definition: TXProofServ.h:34
Bool_t fOwn
Definition: TXSocket.h:261
Bool_t Create(Bool_t attach=kFALSE)
This method sends a request for creation of (or attachment to) a remote server application.
Definition: TXSocket.cxx:1014
Int_t fByteCur
Definition: TXSocket.h:103
Int_t Flush()
Flush the asynchronous queue.
Definition: TXSocket.cxx:965
Bool_t IsInterrupt()
Definition: TXSocket.h:220
TString fHost
Definition: TXSocket.h:86
TXSockBuf(Char_t *bp=0, Int_t sz=0, Bool_t own=1)
constructor
Definition: TXSocket.cxx:2132
void SetAWait(Bool_t w=kTRUE)
Definition: TXSocket.h:223
Handler of asynchronous events for XProofD sockets.
Definition: TXHandler.h:30
Input handler for XProofD sockets.
Int_t fXrdProofdVersion
Definition: TXSocket.h:121
void PostMsg(Int_t type, const char *msg=0)
Post a message of type 'type' into the read messages queue.
Definition: TXSocket.cxx:848
High level handler of connections to XProofD.
Definition: TXSocket.h:72
Bool_t Ping(const char *ord=0)
Ping functionality: contact the server to check its vitality.
Definition: TXSocket.cxx:1236
TString fBuffer
Definition: TXSocket.h:91
tuple w
Definition: qtexample.py:51
std::recursive_mutex fAMtx
Definition: TXSocket.h:99
short Short_t
Definition: RtypesCore.h:35
std::list< TXSockBuf * > fAQue
Definition: TXSocket.h:101
Int_t Post()
Increment the value of the semaphore.
Definition: TSemaphore.cxx:103
Int_t Flush(TSocket *s)
Remove any reference to socket 's' from the global pipe and ready-socket queue.
Definition: TXSocket.cxx:2289
static TString fgLoc
Definition: TXSocket.h:125
Char_t * fBuf
Definition: TXSocket.h:260
Implementation of the functionality provided by TProofMgr in the case of a xproofd-based session...
Definition: TXProofMgr.h:46
TString fLoc
Definition: TXSocket.h:303
TList fReadySock
Definition: TXSocket.h:304
Int_t fSiz
Definition: TXSocket.h:258
TXSemaphoreGuard(TSemaphore *sem)
Definition: TXSocket.h:313
Int_t fLen
Definition: TXSocket.h:259
virtual ~TXSockPipe()
Destructor.
Definition: TXSocket.cxx:2218
virtual Int_t Reconnect()
Try reconnection after failure.
Definition: TXSocket.cxx:2078
Int_t Send(Int_t status, Int_t kind)
Send a status and a single message opcode.
Definition: TXSocket.h:186
void DisconnectSession(Int_t id, Option_t *opt="")
Disconnect a session.
Definition: TXSocket.cxx:268
TXSockBuf * fBufCur
Definition: TXSocket.h:104
int GetLowSocket()
Return the socket descriptor of the underlying connection.
Short_t fSessionID
Definition: TXSocket.h:84
Int_t Send(Int_t kind)
Send a single message opcode.
Definition: TXSocket.h:185
Bool_t IsValid() const
Definition: TXSocket.h:316
bool IsValid() const
Test validity of this connection.
int type
Definition: TGX11.cxx:120
Bool_t fDontTimeout
Definition: TXSocket.h:117
TXSockPipe(const char *loc="")
Constructor.
Definition: TXSocket.cxx:2204
void DisableTimeout()
Definition: TXSocket.h:243
Int_t Recv(TMessage *&mess)
Receive a TMessage object.
Definition: TXSocket.cxx:1725
Char_t * fMem
Definition: TXSocket.h:274
Int_t fInt1
Definition: TXSocket.h:62
kXR_int32 fSendOpt
Definition: TXSocket.h:83
Int_t GetLogConnID() const
Definition: TXSocket.h:170
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
Definition: vector.h:440
Bool_t fRDInterrupt
Definition: TXSocket.h:118
void DumpReadySock()
Dump content of the ready socket list.
Definition: TXSocket.cxx:2323
TObject * fReference
Definition: TXSocket.h:92
Mother of all ROOT objects.
Definition: TObject.h:58
Int_t SetOption(ESockOptions, Int_t)
Set socket options.
Definition: TXSocket.h:240
char Char_t
Definition: RtypesCore.h:29
void PushBackSpare()
Release read buffer giving back to the spare list.
Definition: TXSocket.cxx:1521
const char * fMsg
Definition: TXSocket.h:69
kXR_int32 fILev
Definition: TXSocket.h:110
Int_t PickUpReady()
Wait and pick-up next buffer from the asynchronous queue.
Definition: TXSocket.cxx:1382
static Bool_t fgInitDone
Definition: TXSocket.h:126
TObjString * SendCoordinator(Int_t kind, const char *msg=0, Int_t int2=0, Long64_t l64=0, Int_t int3=0, const char *opt=0)
Send message to intermediate coordinator.
Definition: TXSocket.cxx:1776
void SendUrgent(Int_t type, Int_t int1, Int_t int2)
Send urgent message to counterpart; 'type' specifies the type of the message (see TXSocket::EUrgentMs...
Definition: TXSocket.cxx:1893
static TXSockPipe fgPipe
Definition: TXSocket.h:124
Int_t GetSessionID() const
Definition: TXSocket.h:173
static void SetMemMax(Long64_t memmax)
Return the max allocated memory allowed.
Definition: TXSocket.cxx:2191
Int_t SendInterrupt(Int_t type)
Send urgent message (interrupt) to remote server Returns 0 or -1 in case of error.
Definition: TXSocket.cxx:1599
void DoError(int level, const char *location, const char *fmt, va_list va) const
Interface to ErrorHandler (protected).
Definition: TXSocket.cxx:71
Int_t fPid
Definition: TXSocket.h:114
short GetSessionID() const
Definition: XrdProofConn.h:144
TSemaphore * fSem
Definition: TXSocket.h:319
Int_t GetRead() const
Definition: TXSocket.h:292
const Bool_t kTRUE
Definition: Rtypes.h:91
Int_t fByteLeft
Definition: TXSocket.h:102
void PostSemAll()
Wake up all threads waiting for at the semaphore (used by TXSlave)
Definition: TXSocket.cxx:905
Int_t GetOpenError() const
Definition: TXSocket.h:171
void EnableTimeout()
Definition: TXSocket.h:244
void Resize(Int_t sz)
resize socket buffer
Definition: TXSocket.cxx:2155
void CtrlC()
Interrupt the remote protocol instance.
Definition: TXSocket.cxx:1346
static Long64_t GetMemMax()
Return the max allocated memory allowed.
Definition: TXSocket.cxx:2183