* 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/10/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
10 #import "BLIP_Internal.h"
14 /** INTERNAL class that reads BLIP frames from the socket. */
15 @interface BLIPReader : TCPReader
18 BLIPFrameHeader _curHeader;
20 NSMutableData *_curBody;
22 UInt32 _numRequestsReceived;
23 NSMutableDictionary *_pendingRequests, *_pendingResponses;
26 - (void) _addPendingResponse: (BLIPResponse*)response;