|
__init__(self,
sock,
need_accept=False)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
start(self)
Start the reader and writter threads. |
|
|
|
|
|
starttls(self,
*args,
**kwargs)
Request switching to TLS. |
|
|
|
writter_run(self)
The writter thread function. |
|
|
|
reader_run(self)
The reader thread function. |
|
|
|
write(self,
data)
Queue data for write. |
|
|
|
disconnect(self)
Request disconnection. |
|
|
|
read(self)
Read data from input buffer (received by the reader thread). |
|
|
|
close(self)
Close the socket and request the threads to stop. |
|
|
|
wait(self,
timeout)
Wait for socket closing, an error or timeout seconds. |
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|