coroutine acquire() Acquire a lock. This method blocks until the lock is unlocked, then sets
exception() Return the exception that was set on this future. The exception (or None
result() Return the result this future represents. If the future has been cancelled, raises
notify(n=1) By default, wake up one coroutine waiting on this condition, if any. If the calling coroutine has not acquired the
release() Release the underlying lock. When the lock is locked, reset it to unlocked, and return
asyncio.get_event_loop_policy() Get the current event loop policy.
close() Close the selector. This must be called to make sure that any underlying resource is
get_write_buffer_size() Return the current size of the output buffer used by the transport.
BaseProtocol.pause_writing() Called when the transport’s buffer goes over the high-water mark.
class asyncio.Protocol The base class for implementing streaming protocols (for use with e.g. TCP and SSL transports).
Page 9 of 28