TCPWriter Class Reference

#import <TCPWriter.h>

Inherits TCPStream.

Inherited by BLIPWriter.

List of all members.


Detailed Description

Output stream for a TCPConnection.

Writes a queue of arbitrary data blobs to the socket.

Public Member Functions

(void) - writeData:
 Schedules data to be written to the socket.
(void) - queueIsEmpty
 Will be called when the internal queue of data to be written is empty.

Properties

readonly TCPReaderreader
 The connection's TCPReader.


Member Function Documentation

- (void) writeData: (NSData*)  data  

Schedules data to be written to the socket.

Always returns immediately; the bytes won't actually be sent until there's room.

- (void) queueIsEmpty  

Will be called when the internal queue of data to be written is empty.

Subclasses should override this and call -writeData: to refill the queue, if possible.


Property Documentation

- (TCPReader *) reader [protected]

The connection's TCPReader.


The documentation for this class was generated from the following files:
Generated on Tue May 27 22:56:33 2008 for MYNetwork:MooseyardNetworking by  doxygen 1.5.4