Rename stream muxer initiator flags
This commit is contained in:
parent
4bda366bb8
commit
031b98ddf0
|
@ -23,7 +23,7 @@ class IMuxedConn(ABC):
|
|||
|
||||
@property
|
||||
@abstractmethod
|
||||
def initiator(self) -> bool:
|
||||
def is_initiator(self) -> bool:
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
|
|
|
@ -68,7 +68,7 @@ class Mplex(IMuxedConn):
|
|||
self._tasks.append(asyncio.ensure_future(self.handle_incoming()))
|
||||
|
||||
@property
|
||||
def initiator(self) -> bool:
|
||||
def is_initiator(self) -> bool:
|
||||
return self.secured_conn.initiator
|
||||
|
||||
async def close(self) -> None:
|
||||
|
|
Loading…
Reference in New Issue
Block a user