diff -r 000000000000 -r 9d67172bb323 BLIP/BLIPWriter.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BLIP/BLIPWriter.h Fri May 23 17:37:36 2008 -0700 @@ -0,0 +1,24 @@ +// +// BLIPFrameWriter.h +// MYNetwork +// +// Created by Jens Alfke on 5/18/08. +// Copyright 2008 Jens Alfke. All rights reserved. +// + +#import "TCPWriter.h" +@class BLIPRequest, BLIPResponse, BLIPMessage; + + +@interface BLIPWriter : TCPWriter +{ + NSMutableArray *_outBox; + UInt32 _numQueriesSent; +} + +- (BOOL) sendRequest: (BLIPRequest*)request response: (BLIPResponse*)response; +- (BOOL) sendMessage: (BLIPMessage*)message; + +@property (readonly) UInt32 numQueriesSent; + +@end