1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/BLIP/BLIPWriter.h Fri May 30 13:54:38 2008 -0700
1.3 @@ -0,0 +1,24 @@
1.4 +//
1.5 +// BLIPFrameWriter.h
1.6 +// MYNetwork
1.7 +//
1.8 +// Created by Jens Alfke on 5/18/08.
1.9 +// Copyright 2008 Jens Alfke. All rights reserved.
1.10 +//
1.11 +
1.12 +#import "TCPWriter.h"
1.13 +@class BLIPRequest, BLIPResponse, BLIPMessage;
1.14 +
1.15 +
1.16 +@interface BLIPWriter : TCPWriter
1.17 +{
1.18 + NSMutableArray *_outBox;
1.19 + UInt32 _numQueriesSent;
1.20 +}
1.21 +
1.22 +- (BOOL) sendRequest: (BLIPRequest*)request response: (BLIPResponse*)response;
1.23 +- (BOOL) sendMessage: (BLIPMessage*)message;
1.24 +
1.25 +@property (readonly) UInt32 numQueriesSent;
1.26 +
1.27 +@end