選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 

51 行
1.5 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, object context)
  18. cdef inline _shutdown(self)
  19. cdef inline _accept(self, UVStream server)
  20. cdef inline _close_on_read_error(self)
  21. cdef inline __reading_started(self)
  22. cdef inline __reading_stopped(self)
  23. # The user API write() and writelines() firstly call _buffer_write() to
  24. # buffer up user data chunks, potentially multiple times in writelines(),
  25. # and then call _initiate_write() to start writing either immediately or in
  26. # the next iteration (loop._queue_write()).
  27. cdef inline _buffer_write(self, object data)
  28. cdef inline _initiate_write(self)
  29. # _exec_write() is the method that does the actual send, and _try_write()
  30. # is a fast-path used in _exec_write() to send a single chunk.
  31. cdef inline _exec_write(self)
  32. cdef inline _try_write(self, object data)
  33. cdef _close(self)
  34. cdef inline _on_accept(self)
  35. cdef inline _on_eof(self)
  36. cdef inline _on_write(self)
  37. cdef inline _on_connect(self, object exc)