plugin XEP-0166, 0176, 0234: minor renaming + type hints

This commit is contained in:
Goffi 2023-05-29 13:32:19 +02:00
commit 5c6578a1f6

View file

@ -100,6 +100,10 @@ class BaseApplicationHandler(abc.ABC):
@abc.abstractmethod
def jingle_terminate(
self,
client: SatXMPPEntity,
action: str,
session: dict,
content_name: str,
reason_elt: domish.Element
) -> Union[
Callable[..., None],
@ -144,7 +148,7 @@ class BaseTransportHandler(abc.ABC):
action: str,
session: dict,
content_name: str,
transport_elt: domish.Element
reason_elt: domish.Element
) -> Union[
Callable[..., None],
Callable[..., Awaitable[None]]
@ -156,7 +160,7 @@ class BaseTransportHandler(abc.ABC):
@param action: Jingle action
@param session: Jingle Session
@param content_name: Name of the content
@param transport_elt: Transport element
@param reason_elt: <reason> element
"""
pass