Back: TCP.UDPSocketImpl-multicasting Up: TCP package Forward: TCP.WriteBuffer-buffer handling   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

6.19 TCP.WriteBuffer

Defined in namespace TCP
Superclass: WriteStream
Category: Examples-Useful tools

I'm a WriteStream that, instead of growing the collection, evaluates an user defined block and starts over with the same collection.

6.19.1 TCP.WriteBuffer: buffer handling  (instance)
6.19.2 TCP.WriteBuffer: testing  (instance)


6.19.1 TCP.WriteBuffer: buffer handling

flush
Evaluate the flushing block and reset the stream

flushBlock: block
Set which block will be used to flush the buffer. The block will be evaluated with a collection and an Integer n as parameters, and will have to write the first n elements of the collection.


6.19.2 TCP.WriteBuffer: testing

isFull
Not commented.



Back: TCP.WriteBuffer-buffer handling Up: TCP.WriteBuffer Forward: ZLib package   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on May, 22 2008 using texi2html