Classes | |
class | BaseIOStream |
class | IOStream |
class | PipeIOStream |
class | SSLIOStream |
class | StreamBufferFullError |
class | StreamClosedError |
class | UnsatisfiableReadError |
Functions | |
def | _double_prefix |
def | _merge_prefix |
def | doctests |
Variables | |
tuple | _ERRNO_CONNRESET |
tuple | _ERRNO_INPROGRESS = (errno.EINPROGRESS,) |
tuple | _ERRNO_WOULDBLOCK = (errno.EWOULDBLOCK, errno.EAGAIN) |
_set_nonblocking = None | |
ssl = None |
def tornado.iostream._double_prefix | ( | deque | ) | [private] |
Grow by doubling, but don't split the second chunk just because the first one is small.
Definition at line 1349 of file iostream.py.
def tornado.iostream._merge_prefix | ( | deque, | |
size | |||
) | [private] |
Replace the first entries in a deque of strings with a single string of up to size bytes. >>> d = collections.deque(['abc', 'de', 'fghi', 'j']) >>> _merge_prefix(d, 5); print(d) deque(['abcde', 'fghi', 'j']) Strings will be split as necessary to reach the desired size. >>> _merge_prefix(d, 7); print(d) deque(['abcdefg', 'hi', 'j']) >>> _merge_prefix(d, 3); print(d) deque(['abc', 'defg', 'hi', 'j']) >>> _merge_prefix(d, 100); print(d) deque(['abcdefghij'])
Definition at line 1358 of file iostream.py.
def tornado.iostream.doctests | ( | ) |
Definition at line 1396 of file iostream.py.
00001 (errno.ECONNRESET, errno.ECONNABORTED, errno.EPIPE, 00002 errno.ETIMEDOUT)
Definition at line 65 of file iostream.py.
tuple tornado::iostream::_ERRNO_INPROGRESS = (errno.EINPROGRESS,) |
Definition at line 72 of file iostream.py.
tuple tornado::iostream::_ERRNO_WOULDBLOCK = (errno.EWOULDBLOCK, errno.EAGAIN) |
Definition at line 58 of file iostream.py.
Definition at line 47 of file iostream.py.
tornado::iostream::ssl = None |
Definition at line 53 of file iostream.py.