* The BLIPConnection receivedRequest: delegate method now returns BOOL. If the method returns NO (or if the method isn't implemented in the delegate), that means it didn't handle the message at all; an error will be returned to the sender.
* If the connection closes unexpectedly due to an error, then the auto-generated responses to pending requests will contain that error. This makes it easier to display a meaningful error message in the handler for the request.
5 // Created by Jens Alfke on 5/18/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
10 @class BLIPRequest, BLIPResponse, BLIPMessage;
13 /** INTERNAL class that sends BLIP frames over the socket. */
14 @interface BLIPWriter : TCPWriter
17 NSMutableArray *_outBox;
18 UInt32 _numRequestsSent;
21 - (BOOL) sendRequest: (BLIPRequest*)request response: (BLIPResponse*)response;
22 - (BOOL) sendMessage: (BLIPMessage*)message;
24 @property (readonly) UInt32 numRequestsSent;