|
webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
Public Member Functions | |
| def | __init__ (self, mux_handler) |
| def | put_outgoing_data (self, data) |
| def | run (self) |
| def | stop (self, close_code=common.STATUS_NORMAL_CLOSURE) |
A thread that is responsible for writing data to physical connection. TODO(bashi): Make sure there is no thread-safety problem when the reader thread reads data from the same socket at a time.
| def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.__init__ | ( | self, | |
| mux_handler | |||
| ) |
Constructs an instance.
Args:
mux_handler: _MuxHandler instance.
| def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.put_outgoing_data | ( | self, | |
| data | |||
| ) |
Puts outgoing data.
Args:
data: _OutgoingData instance.
Raises:
BadOperationException: when the thread has been requested to
terminate.
| def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.run | ( | self | ) |
| def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.stop | ( | self, | |
close_code = common.STATUS_NORMAL_CLOSURE |
|||
| ) |
Stops the writer thread.
1.8.13