Class | Rev::BufferedIO |
In: |
lib/rev/buffered_io.rb
|
Parent: | IOWatcher |
A buffered I/O class witch fits into the Rev Watcher framework. It provides both an observer which reads data as it‘s received from the wire and a buffered writer 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 Rev‘s Socket class and its associated subclasses.
INPUT_SIZE | = | 16384 | Maximum number of bytes to consume at once |