webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Member Functions | List of all members
webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter Class Reference
Inheritance diagram for webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter:

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)
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.__init__ (   self,
  mux_handler 
)
Constructs an instance.

Args:
    mux_handler: _MuxHandler instance.

Member Function Documentation

◆ put_outgoing_data()

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.

◆ run()

def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.run (   self)

◆ stop()

def webkitpy.thirdparty.mod_pywebsocket.mux._PhysicalConnectionWriter.stop (   self,
  close_code = common.STATUS_NORMAL_CLOSURE 
)
Stops the writer thread.

The documentation for this class was generated from the following file: