Override in subclass to buffer data for send to client It's okay if this method actually transmits the data; BaseHandler just separates write and flush operations for greater efficiency when the underlying system actually has such a distinction.
(self,data)
| 410 | # Pure abstract methods; *must* be overridden in subclasses |
| 411 | |
| 412 | def _write(self,data): |
| 413 | """Override in subclass to buffer data for send to client |
| 414 | |
| 415 | It's okay if this method actually transmits the data; BaseHandler |
| 416 | just separates write and flush operations for greater efficiency |
| 417 | when the underlying system actually has such a distinction. |
| 418 | """ |
| 419 | raise NotImplementedError |
| 420 | |
| 421 | def _flush(self): |
| 422 | """Override in subclass to force sending of recent '_write()' calls |
no outgoing calls
no test coverage detected