jens@0: // jens@0: // BLIPFrameWriter.h jens@0: // MYNetwork jens@0: // jens@0: // Created by Jens Alfke on 5/18/08. jens@0: // Copyright 2008 Jens Alfke. All rights reserved. jens@0: // jens@0: jens@0: #import "TCPWriter.h" jens@0: @class BLIPRequest, BLIPResponse, BLIPMessage; jens@0: jens@0: jens@0: @interface BLIPWriter : TCPWriter jens@0: { jens@0: NSMutableArray *_outBox; jens@0: UInt32 _numQueriesSent; jens@0: } jens@0: jens@0: - (BOOL) sendRequest: (BLIPRequest*)request response: (BLIPResponse*)response; jens@0: - (BOOL) sendMessage: (BLIPMessage*)message; jens@0: jens@0: @property (readonly) UInt32 numQueriesSent; jens@0: jens@0: @end