diff options
author | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:27 -0500 |
commit | a8a62201ba762e98dff92cf49033e577fc34d8d4 (patch) | |
tree | 11f8513c5cdc222f2fac0c93eb724c089803c200 /linden/indra/test/llpipeutil.h | |
parent | Second Life viewer sources 1.18.6.4-RC (diff) | |
download | meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.zip meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.gz meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.bz2 meta-impy-a8a62201ba762e98dff92cf49033e577fc34d8d4.tar.xz |
Second Life viewer sources 1.19.0.0
Diffstat (limited to 'linden/indra/test/llpipeutil.h')
-rw-r--r-- | linden/indra/test/llpipeutil.h | 24 |
1 files changed, 22 insertions, 2 deletions
diff --git a/linden/indra/test/llpipeutil.h b/linden/indra/test/llpipeutil.h index ebc21e8..d974f1d 100644 --- a/linden/indra/test/llpipeutil.h +++ b/linden/indra/test/llpipeutil.h | |||
@@ -13,12 +13,12 @@ | |||
13 | * ("GPL"), unless you have obtained a separate licensing agreement | 13 | * ("GPL"), unless you have obtained a separate licensing agreement |
14 | * ("Other License"), formally executed by you and Linden Lab. Terms of | 14 | * ("Other License"), formally executed by you and Linden Lab. Terms of |
15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or | 15 | * the GPL can be found in doc/GPL-license.txt in this distribution, or |
16 | * online at http://secondlife.com/developers/opensource/gplv2 | 16 | * online at http://secondlifegrid.net/programs/open_source/licensing/gplv2 |
17 | * | 17 | * |
18 | * There are special exceptions to the terms and conditions of the GPL as | 18 | * There are special exceptions to the terms and conditions of the GPL as |
19 | * it is applied to this Source Code. View the full text of the exception | 19 | * it is applied to this Source Code. View the full text of the exception |
20 | * in the file doc/FLOSS-exception.txt in this software distribution, or | 20 | * in the file doc/FLOSS-exception.txt in this software distribution, or |
21 | * online at http://secondlife.com/developers/opensource/flossexception | 21 | * online at http://secondlifegrid.net/programs/open_source/licensing/flossexception |
22 | * | 22 | * |
23 | * By copying, modifying or distributing this software, you acknowledge | 23 | * By copying, modifying or distributing this software, you acknowledge |
24 | * that you have read and understood your obligations described above, | 24 | * that you have read and understood your obligations described above, |
@@ -145,4 +145,24 @@ protected: | |||
145 | LLPumpIO* pump); | 145 | LLPumpIO* pump); |
146 | }; | 146 | }; |
147 | 147 | ||
148 | /** | ||
149 | * @brief Pipe that sleeps, and then responds later. | ||
150 | */ | ||
151 | class LLIOSleeper : public LLIOPipe | ||
152 | { | ||
153 | public: | ||
154 | LLIOSleeper() : mRespond(false) {} | ||
155 | |||
156 | protected: | ||
157 | virtual EStatus process_impl( | ||
158 | const LLChannelDescriptors& channels, | ||
159 | buffer_ptr_t& buffer, | ||
160 | bool& eos, | ||
161 | LLSD& context, | ||
162 | LLPumpIO* pump); | ||
163 | private: | ||
164 | bool mRespond; | ||
165 | |||
166 | }; | ||
167 | |||
148 | #endif // LL_LLPIPEUTIL_H | 168 | #endif // LL_LLPIPEUTIL_H |