diff -r 000000000000 -r 2c4bb6968927 BLIP/BLIPReader.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BLIP/BLIPReader.h Sun May 25 12:32:47 2008 -0700 @@ -0,0 +1,27 @@ +// +// BLIPReader.h +// MYNetwork +// +// Created by Jens Alfke on 5/10/08. +// Copyright 2008 Jens Alfke. All rights reserved. +// + +#import "TCPStream.h" +#import "BLIP_Internal.h" +@class BLIPResponse; + + +/** INTERNAL class that reads BLIP frames from the socket. */ +@interface BLIPReader : TCPReader +{ + BLIPFrameHeader _curHeader; + UInt32 _curBytesRead; + NSMutableData *_curBody; + + UInt32 _numQueriesReceived; + NSMutableDictionary *_pendingQueries, *_pendingReplies; +} + +- (void) _addPendingResponse: (BLIPResponse*)response; + +@end