4 #ifndef CLIENT_SETTINGS_H
5 #define CLIENT_SETTINGS_H
7 #include "StreamBase.hpp"
9 #include "NMSTL/ntime.hpp"
34 _openTimeout = tupleOpenTimeout;
63 _writeTimeout = tupleWriteTimeout;
73 return _xmlrpcTimeout;
82 _xmlrpcTimeout = xmlrpcTimeout;
93 return _reconnectSleep;
102 _reconnectSleep = reconnectSleep;
111 return _heartbeatTimeout;
120 _heartbeatTimeout = heartbeatTimeout;
130 return _exitStatusTimeout;
140 _exitStatusTimeout = exitStatusTimeout;
149 return _maxInputPacketSize;
158 _maxInputPacketSize = maxInputPacketSize;
166 return _checkClientExitStatus;
177 _maxDequeuerQueueSize = maxDequeuerQueueSize;
187 _tcpNoDelay = tcpNoDelay;
198 unsigned int getMaxTupleBufferCacheSize() {
199 return _maxTupleBufferCacheSize;
202 unsigned int getMaxDequeuerQueueSize() {
203 return _maxDequeuerQueueSize;
207 NMSTL::Time _reconnectSleep;
208 NMSTL::Time _openTimeout;
209 NMSTL::Time _writeTimeout;
210 NMSTL::Time _xmlrpcTimeout;
211 NMSTL::Time _heartbeatTimeout;
212 NMSTL::Time _exitStatusTimeout;
213 unsigned int _maxInputPacketSize;
214 bool _checkClientExitStatus;
216 unsigned int _maxTupleBufferCacheSize;
217 unsigned int _maxDequeuerQueueSize;