Rename raw connection initiator flags

This commit is contained in:
Dominik Muhs 2019-10-24 19:28:42 +02:00
parent 5810174374
commit b5eeceecbf
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ from .raw_connection_interface import IRawConnection
class RawConnection(IRawConnection): class RawConnection(IRawConnection):
reader: asyncio.StreamReader reader: asyncio.StreamReader
writer: asyncio.StreamWriter writer: asyncio.StreamWriter
initiator: bool is_initiator: bool
_drain_lock: asyncio.Lock _drain_lock: asyncio.Lock
@ -19,7 +19,7 @@ class RawConnection(IRawConnection):
) -> None: ) -> None:
self.reader = reader self.reader = reader
self.writer = writer self.writer = writer
self.initiator = initiator self.is_initiator = initiator
self._drain_lock = asyncio.Lock() self._drain_lock = asyncio.Lock()

View File

@ -6,4 +6,4 @@ class IRawConnection(ReadWriteCloser):
A Raw Connection provides a Reader and a Writer A Raw Connection provides a Reader and a Writer
""" """
initiator: bool is_initiator: bool