1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/BLIP/BLIPReader.h Sun May 25 10:28:26 2008 -0700
1.3 @@ -0,0 +1,27 @@
1.4 +//
1.5 +// BLIPReader.h
1.6 +// MYNetwork
1.7 +//
1.8 +// Created by Jens Alfke on 5/10/08.
1.9 +// Copyright 2008 Jens Alfke. All rights reserved.
1.10 +//
1.11 +
1.12 +#import "TCPStream.h"
1.13 +#import "BLIP_Internal.h"
1.14 +@class BLIPResponse;
1.15 +
1.16 +
1.17 +/** INTERNAL class that reads BLIP frames from the socket. */
1.18 +@interface BLIPReader : TCPReader
1.19 +{
1.20 + BLIPFrameHeader _curHeader;
1.21 + UInt32 _curBytesRead;
1.22 + NSMutableData *_curBody;
1.23 +
1.24 + UInt32 _numQueriesReceived;
1.25 + NSMutableDictionary *_pendingQueries, *_pendingReplies;
1.26 +}
1.27 +
1.28 +- (void) _addPendingResponse: (BLIPResponse*)response;
1.29 +
1.30 +@end