diff options
author | Aaron Brashears <aaronb@lindenlab.com> | 2007-12-05 01:15:45 +0000 |
---|---|---|
committer | Aaron Brashears <aaronb@lindenlab.com> | 2007-12-05 01:15:45 +0000 |
commit | 2a9be0445b82fdca0fb98da20f74c0200a9bffe1 (patch) | |
tree | 7dcc2d3727b33d950aa9ea4026a9c3873eabb5ad /indra/test/llpipeutil.h | |
parent | f8511d77a70bea452cde7270b47044358e58427c (diff) |
Result of svn merge -r74235:74242 svn+ssh://svn/svn/linden/branches/robust-pump into release
Diffstat (limited to 'indra/test/llpipeutil.h')
-rw-r--r-- | indra/test/llpipeutil.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/indra/test/llpipeutil.h b/indra/test/llpipeutil.h index 25311780ac..a52f141d55 100644 --- a/indra/test/llpipeutil.h +++ b/indra/test/llpipeutil.h @@ -145,4 +145,24 @@ protected: LLPumpIO* pump); }; +/** + * @brief Pipe that sleeps, and then responds later. + */ +class LLIOSleeper : public LLIOPipe +{ +public: + LLIOSleeper() : mRespond(false) {} + +protected: + virtual EStatus process_impl( + const LLChannelDescriptors& channels, + buffer_ptr_t& buffer, + bool& eos, + LLSD& context, + LLPumpIO* pump); +private: + bool mRespond; + +}; + #endif // LL_LLPIPEUTIL_H |