diff -r 000000000000 -r 76f302097a75 BLIP/BLIPWriter.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/BLIP/BLIPWriter.h Sat May 24 21:26:09 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