* Fixed: Responses still pending when a connection closed were not calling their onComplete targets.
* Fixed: BLIPTestClient target failed to build because it didn't link against zlib.
* If TCPListener.bonjourServiceName is changed while the listener is open, it now re-publishes the service with the new name.
* Added a TCPListener.bonjourService property.
* Added a BLIPMessage.representedObject property.
* Fixed a memory leak.
5 // Created by Jens Alfke on 5/10/08.
6 // Copyright 2008 Jens Alfke. All rights reserved.
12 /** Output stream for a TCPConnection. Writes a queue of arbitrary data blobs to the socket. */
13 @interface TCPWriter : TCPStream
15 NSMutableArray *_queue;
17 SInt32 _currentDataPos;
20 /** The connection's TCPReader. */
21 @property (readonly) TCPReader *reader;
23 /** Schedules data to be written to the socket.
24 Always returns immediately; the bytes won't actually be sent until there's room. */
25 - (void) writeData: (NSData*)data;
29 /** Will be called when the internal queue of data to be written is empty.
30 Subclasses should override this and call -writeData: to refill the queue,
32 - (void) queueIsEmpty;