author | Jens Alfke <jens@mooseyard.com> |
Sun May 25 12:32:47 2008 -0700 (2008-05-25) | |
changeset 5 | 2c4bb6968927 |
child 11 | 29e8b03c05d4 |
permissions | -rw-r--r-- |
1 //
2 // BLIPReader.h
3 // MYNetwork
4 //
5 // Created by Jens Alfke on 5/10/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
7 //
9 #import "TCPStream.h"
10 #import "BLIP_Internal.h"
11 @class BLIPResponse;
14 /** INTERNAL class that reads BLIP frames from the socket. */
15 @interface BLIPReader : TCPReader
16 {
17 BLIPFrameHeader _curHeader;
18 UInt32 _curBytesRead;
19 NSMutableData *_curBody;
21 UInt32 _numQueriesReceived;
22 NSMutableDictionary *_pendingQueries, *_pendingReplies;
23 }
25 - (void) _addPendingResponse: (BLIPResponse*)response;
27 @end