Fixed a serious bug - a race condition where a data buffer in the writer's queue could be dealloced (not the NSData, but its bytes themselves) before the writer sent it, resulting in an EFAULT error.
5 // Created by Jens Alfke on 5/18/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
10 @class BLIPRequest, BLIPResponse, BLIPMessage;
13 @interface BLIPWriter : TCPWriter
15 NSMutableArray *_outBox;
16 UInt32 _numQueriesSent;
19 - (BOOL) sendRequest: (BLIPRequest*)request response: (BLIPResponse*)response;
20 - (BOOL) sendMessage: (BLIPMessage*)message;
22 @property (readonly) UInt32 numQueriesSent;