plugin XEP-0166, 0176, 0234: minor renaming + type hints
This commit is contained in:
parent
1781694141
commit
5c6578a1f6
1 changed files with 20 additions and 9 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue