Class | Coolio::IO |
In: |
lib/cool.io/io.rb
|
Parent: | Object |
A buffered I/O class witch fits into the Coolio Watcher framework. It provides both an observer which reads data as it‘s received from the wire and a buffered write watcher which stores data and writes it out each time the socket becomes writable.
This class is primarily meant as a base class for other streams which need non-blocking writing, and is used to implement Coolio‘s Socket class and its associated subclasses.
INPUT_SIZE | = | 16384 | Maximum number of bytes to consume at once |