diff options
Diffstat (limited to '')
-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 |