ObjFW  Diff

Differences From Artifact [8754133d3a]:

To Artifact [8202cb76d9]:


169
170
171
172
173
174
175
176

177
178
179

180
181
182
183
184
185
186
187
188
189
190
169
170
171
172
173
174
175

176
177
178

179
180
181
182
183
184
185
186
187
188
189
190







-
+


-
+











 */
- (void)observe;

/**
 * \brief Observes all streams until an event happens on a stream or the
 *	  timeout is reached.
 *
 * \param timeout The time to wait for an event, in milliseconds
 * \param timeout The time to wait for an event, in seconds
 * \return A boolean whether events occurred during the timeinterval
 */
- (BOOL)observeWithTimeout: (int)timeout;
- (BOOL)observeWithTimeout: (double)timeout;

- (void)_addFileDescriptorForReading: (int)fd;
- (void)_addFileDescriptorForWriting: (int)fd;
- (void)_removeFileDescriptorForReading: (int)fd;
- (void)_removeFileDescriptorForWriting: (int)fd;
- (void)_processQueue;
- (BOOL)_processCache;
@end

@interface OFObject (OFStreamObserverDelegate) <OFStreamObserverDelegate>
@end