You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

43 lines
1.0 KiB

  1. cdef class UVStream(UVBaseTransport):
  2. cdef:
  3. uv.uv_shutdown_t _shutdown_req
  4. bint __shutting_down
  5. bint __reading
  6. bint __read_error_close
  7. bint __buffered
  8. object _protocol_get_buffer
  9. object _protocol_buffer_updated
  10. bint _eof
  11. list _buffer
  12. size_t _buffer_size
  13. Py_buffer _read_pybuf
  14. bint _read_pybuf_acquired
  15. # All "inline" methods are final
  16. cdef inline _init(self, Loop loop, object protocol, Server server,
  17. object waiter)
  18. cdef inline _exec_write(self)
  19. cdef inline _shutdown(self)
  20. cdef inline _accept(self, UVStream server)
  21. cdef inline _close_on_read_error(self)
  22. cdef inline __reading_started(self)
  23. cdef inline __reading_stopped(self)
  24. cdef inline _write(self, object data)
  25. cdef inline _try_write(self, object data)
  26. cdef _close(self)
  27. cdef inline _on_accept(self)
  28. cdef inline _on_eof(self)
  29. cdef inline _on_write(self)
  30. cdef inline _on_connect(self, object exc)