Python: Optimized frame sending somewhat (frame buffers are generated on the fly as the socket has room.)
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
17 BLIPFrameHeader _curHeader;
19 NSMutableData *_curBody;
21 UInt32 _numRequestsReceived;
22 NSMutableDictionary *_pendingRequests, *_pendingResponses;
25 - (void) _addPendingResponse: (BLIPResponse*)response;