Lines Matching defs:maxTime
64 //! pump up to maxSize bytes using at most maxTime milliseconds
66 size_t GeneralPump2(lword &byteCount, bool blockingOutput=true, unsigned long maxTime=INFINITE_TIME, bool checkDelimiter=false, byte delimiter='\n');
68 lword GeneralPump(lword maxSize=LWORD_MAX, unsigned long maxTime=INFINITE_TIME, bool checkDelimiter=false, byte delimiter='\n')
70 GeneralPump2(maxSize, true, maxTime, checkDelimiter, delimiter);
73 lword TimedPump(unsigned long maxTime)
74 {return GeneralPump(LWORD_MAX, maxTime);}
85 unsigned long maxTime, bool checkDelimiter, byte delimiter) =0;
126 //! flush to device for no more than maxTime milliseconds
128 the queue is empty, or a total of maxTime milliseconds have elapsed.
129 If maxTime == 0, at least one attempt will be made to flush some data, but
136 lword TimedFlush(unsigned long maxTime, size_t targetSize = 0);
143 virtual lword DoFlush(unsigned long maxTime, size_t targetSize) = 0;
176 size_t DoPump(lword &byteCount, bool blockingOutput, unsigned long maxTime, bool checkDelimiter, byte delimiter);
214 lword DoFlush(unsigned long maxTime, size_t targetSize);