asyncio, tulip issue 203: Add _FlowControlMixin.get_write_buffer_limits() method

This commit is contained in:
Victor Stinner 2014-08-26 00:22:28 +02:00
parent b261475a48
commit 52bb949fd3
3 changed files with 17 additions and 0 deletions

View file

@ -273,6 +273,9 @@ class _FlowControlMixin(Transport):
'protocol': self._protocol,
})
def get_write_buffer_limits(self):
return (self._low_water, self._high_water)
def _set_write_buffer_limits(self, high=None, low=None):
if high is None:
if low is None: