#import <TCPWriter.h>
Inherits TCPStream.
Inherited by BLIPWriter.
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 TCPReader * | reader |
| The connection's TCPReader. | |
| - (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.
1.5.4