winrt-Windows.Networking.ServiceDiscovery.Dnssd 2.2.0__cp313-cp313-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/_winrt_windows_networking_servicediscovery_dnssd.cp313-win_amd64.pyd +0 -0
- winrt/_winrt_windows_networking_servicediscovery_dnssd.pyi +105 -0
- winrt/windows/networking/servicediscovery/dnssd/__init__.py +35 -0
- winrt/windows/networking/servicediscovery/dnssd/py.typed +0 -0
- winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/METADATA +29 -0
- winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/RECORD +8 -0
- winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/WHEEL +5 -0
- winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import datetime
|
|
4
|
+
import sys
|
|
5
|
+
import types
|
|
6
|
+
import typing
|
|
7
|
+
import uuid as _uuid
|
|
8
|
+
from builtins import property as _property
|
|
9
|
+
|
|
10
|
+
import winrt._winrt
|
|
11
|
+
import winrt.system
|
|
12
|
+
import winrt.windows.foundation as windows_foundation
|
|
13
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
14
|
+
import winrt.windows.networking as windows_networking
|
|
15
|
+
import winrt.windows.networking.connectivity as windows_networking_connectivity
|
|
16
|
+
import winrt.windows.networking.sockets as windows_networking_sockets
|
|
17
|
+
|
|
18
|
+
from winrt.windows.networking.servicediscovery.dnssd import DnssdRegistrationStatus, DnssdServiceWatcherStatus
|
|
19
|
+
|
|
20
|
+
Self = typing.TypeVar('Self')
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class DnssdRegistrationResult(winrt.system.Object):
|
|
24
|
+
def __str__(self) -> str: ...
|
|
25
|
+
@staticmethod
|
|
26
|
+
def _from(obj: winrt.system.Object, /) -> DnssdRegistrationResult: ...
|
|
27
|
+
def __new__(cls: typing.Type[DnssdRegistrationResult]) -> DnssdRegistrationResult: ...
|
|
28
|
+
def to_string(self) -> str: ...
|
|
29
|
+
@_property
|
|
30
|
+
def has_instance_name_changed(self) -> bool: ...
|
|
31
|
+
@_property
|
|
32
|
+
def ip_address(self) -> typing.Optional[windows_networking.HostName]: ...
|
|
33
|
+
@_property
|
|
34
|
+
def status(self) -> DnssdRegistrationStatus: ...
|
|
35
|
+
|
|
36
|
+
@typing.final
|
|
37
|
+
class DnssdServiceInstance(winrt.system.Object):
|
|
38
|
+
def __str__(self) -> str: ...
|
|
39
|
+
@staticmethod
|
|
40
|
+
def _from(obj: winrt.system.Object, /) -> DnssdServiceInstance: ...
|
|
41
|
+
def __new__(cls: typing.Type[DnssdServiceInstance], dnssd_service_instance_name: str, host_name: typing.Optional[windows_networking.HostName], port: winrt.system.UInt16) -> DnssdServiceInstance: ...
|
|
42
|
+
@typing.overload
|
|
43
|
+
def register_datagram_socket_async(self, socket: typing.Optional[windows_networking_sockets.DatagramSocket], /) -> windows_foundation.IAsyncOperation[DnssdRegistrationResult]: ...
|
|
44
|
+
@typing.overload
|
|
45
|
+
def register_datagram_socket_async(self, socket: typing.Optional[windows_networking_sockets.DatagramSocket], adapter: typing.Optional[windows_networking_connectivity.NetworkAdapter], /) -> windows_foundation.IAsyncOperation[DnssdRegistrationResult]: ...
|
|
46
|
+
@typing.overload
|
|
47
|
+
def register_stream_socket_listener_async(self, socket: typing.Optional[windows_networking_sockets.StreamSocketListener], /) -> windows_foundation.IAsyncOperation[DnssdRegistrationResult]: ...
|
|
48
|
+
@typing.overload
|
|
49
|
+
def register_stream_socket_listener_async(self, socket: typing.Optional[windows_networking_sockets.StreamSocketListener], adapter: typing.Optional[windows_networking_connectivity.NetworkAdapter], /) -> windows_foundation.IAsyncOperation[DnssdRegistrationResult]: ...
|
|
50
|
+
def to_string(self) -> str: ...
|
|
51
|
+
@_property
|
|
52
|
+
def weight(self) -> winrt.system.UInt16: ...
|
|
53
|
+
@weight.setter
|
|
54
|
+
def weight(self, value: winrt.system.UInt16) -> None: ...
|
|
55
|
+
@_property
|
|
56
|
+
def priority(self) -> winrt.system.UInt16: ...
|
|
57
|
+
@priority.setter
|
|
58
|
+
def priority(self, value: winrt.system.UInt16) -> None: ...
|
|
59
|
+
@_property
|
|
60
|
+
def port(self) -> winrt.system.UInt16: ...
|
|
61
|
+
@port.setter
|
|
62
|
+
def port(self, value: winrt.system.UInt16) -> None: ...
|
|
63
|
+
@_property
|
|
64
|
+
def host_name(self) -> typing.Optional[windows_networking.HostName]: ...
|
|
65
|
+
@host_name.setter
|
|
66
|
+
def host_name(self, value: typing.Optional[windows_networking.HostName]) -> None: ...
|
|
67
|
+
@_property
|
|
68
|
+
def dnssd_service_instance_name(self) -> str: ...
|
|
69
|
+
@dnssd_service_instance_name.setter
|
|
70
|
+
def dnssd_service_instance_name(self, value: str) -> None: ...
|
|
71
|
+
@_property
|
|
72
|
+
def text_attributes(self) -> typing.Optional[windows_foundation_collections.IMap[str, str]]: ...
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class DnssdServiceInstanceCollection(winrt.system.Object, winrt._winrt.Sequence[DnssdServiceInstance]):
|
|
76
|
+
def __len__(self) -> int: ...
|
|
77
|
+
def __iter__(self) -> windows_foundation_collections.IIterator[DnssdServiceInstance]: ...
|
|
78
|
+
@typing.overload
|
|
79
|
+
def __getitem__(self, index: typing.SupportsIndex) -> DnssdServiceInstance: ...
|
|
80
|
+
@typing.overload
|
|
81
|
+
def __getitem__(self, index: slice) -> winrt.system.Array[DnssdServiceInstance]: ...
|
|
82
|
+
@staticmethod
|
|
83
|
+
def _from(obj: winrt.system.Object, /) -> DnssdServiceInstanceCollection: ...
|
|
84
|
+
def first(self) -> typing.Optional[windows_foundation_collections.IIterator[DnssdServiceInstance]]: ...
|
|
85
|
+
def get_at(self, index: winrt.system.UInt32, /) -> typing.Optional[DnssdServiceInstance]: ...
|
|
86
|
+
def get_many(self, start_index: winrt.system.UInt32, items: winrt.system.Array[DnssdServiceInstance], /) -> winrt.system.UInt32: ...
|
|
87
|
+
def index_of(self, value: typing.Optional[DnssdServiceInstance], /) -> typing.Tuple[bool, winrt.system.UInt32]: ...
|
|
88
|
+
@_property
|
|
89
|
+
def size(self) -> winrt.system.UInt32: ...
|
|
90
|
+
|
|
91
|
+
@typing.final
|
|
92
|
+
class DnssdServiceWatcher(winrt.system.Object):
|
|
93
|
+
@staticmethod
|
|
94
|
+
def _from(obj: winrt.system.Object, /) -> DnssdServiceWatcher: ...
|
|
95
|
+
def start(self) -> None: ...
|
|
96
|
+
def stop(self) -> None: ...
|
|
97
|
+
def add_added(self, handler: windows_foundation.TypedEventHandler[DnssdServiceWatcher, DnssdServiceInstance], /) -> windows_foundation.EventRegistrationToken: ...
|
|
98
|
+
def remove_added(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
99
|
+
def add_enumeration_completed(self, handler: windows_foundation.TypedEventHandler[DnssdServiceWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
100
|
+
def remove_enumeration_completed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
101
|
+
def add_stopped(self, handler: windows_foundation.TypedEventHandler[DnssdServiceWatcher, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
102
|
+
def remove_stopped(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
103
|
+
@_property
|
|
104
|
+
def status(self) -> DnssdServiceWatcherStatus: ...
|
|
105
|
+
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
import enum
|
|
4
|
+
|
|
5
|
+
import winrt.system
|
|
6
|
+
from winrt import _winrt_windows_networking_servicediscovery_dnssd
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"DnssdRegistrationStatus",
|
|
10
|
+
"DnssdServiceWatcherStatus",
|
|
11
|
+
"DnssdRegistrationResult",
|
|
12
|
+
"DnssdServiceInstance",
|
|
13
|
+
"DnssdServiceInstanceCollection",
|
|
14
|
+
"DnssdServiceWatcher",
|
|
15
|
+
]
|
|
16
|
+
|
|
17
|
+
class DnssdRegistrationStatus(enum.IntEnum):
|
|
18
|
+
SUCCESS = 0
|
|
19
|
+
INVALID_SERVICE_NAME = 1
|
|
20
|
+
SERVER_ERROR = 2
|
|
21
|
+
SECURITY_ERROR = 3
|
|
22
|
+
|
|
23
|
+
class DnssdServiceWatcherStatus(enum.IntEnum):
|
|
24
|
+
CREATED = 0
|
|
25
|
+
STARTED = 1
|
|
26
|
+
ENUMERATION_COMPLETED = 2
|
|
27
|
+
STOPPING = 3
|
|
28
|
+
STOPPED = 4
|
|
29
|
+
ABORTED = 5
|
|
30
|
+
|
|
31
|
+
DnssdRegistrationResult = _winrt_windows_networking_servicediscovery_dnssd.DnssdRegistrationResult
|
|
32
|
+
DnssdServiceInstance = _winrt_windows_networking_servicediscovery_dnssd.DnssdServiceInstance
|
|
33
|
+
DnssdServiceInstanceCollection = _winrt_windows_networking_servicediscovery_dnssd.DnssdServiceInstanceCollection
|
|
34
|
+
winrt.system._mixin_sequence(DnssdServiceInstanceCollection)
|
|
35
|
+
DnssdServiceWatcher = _winrt_windows_networking_servicediscovery_dnssd.DnssdServiceWatcher
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: winrt-Windows.Networking.ServiceDiscovery.Dnssd
|
|
3
|
+
Version: 2.2.0
|
|
4
|
+
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
|
+
License: MIT
|
|
6
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
7
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
8
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
|
|
9
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
10
|
+
Classifier: Programming Language :: Python :: 3
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: winrt-runtime ==2.2.0
|
|
16
|
+
Provides-Extra: all
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all] ==2.2.0 ; extra == 'all'
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all] ==2.2.0 ; extra == 'all'
|
|
19
|
+
Requires-Dist: winrt-Windows.Networking[all] ==2.2.0 ; extra == 'all'
|
|
20
|
+
Requires-Dist: winrt-Windows.Networking.Connectivity[all] ==2.2.0 ; extra == 'all'
|
|
21
|
+
Requires-Dist: winrt-Windows.Networking.Sockets[all] ==2.2.0 ; extra == 'all'
|
|
22
|
+
|
|
23
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
24
|
+
|
|
25
|
+
# winrt-Windows.Networking.ServiceDiscovery.Dnssd
|
|
26
|
+
|
|
27
|
+
Windows Runtime (WinRT) APIs for for the `Windows.Networking.ServiceDiscovery.Dnssd` namespace.
|
|
28
|
+
|
|
29
|
+
This package provides the `winrt.windows.networking.servicediscovery.dnssd` module.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/_winrt_windows_networking_servicediscovery_dnssd.cp313-win_amd64.pyd,sha256=BnUyy8e6Enb1prGTqVV3Jx53Qp7ywNwn661yRkDDFKw,125440
|
|
2
|
+
winrt/_winrt_windows_networking_servicediscovery_dnssd.pyi,sha256=NEfiOYSkhNYUPn7mdhsTmGQl-1o0tq3swXNpwpvJm6Q,5810
|
|
3
|
+
winrt/windows/networking/servicediscovery/dnssd/__init__.py,sha256=uyfU_e2v39tK6mb9uQAf9ujKoAlRkVSWCzDT5hukeXc,1136
|
|
4
|
+
winrt/windows/networking/servicediscovery/dnssd/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
|
+
winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/METADATA,sha256=kj3l8iy364g3-ho-0REkhtkfPMVGe8bAuL4N-Cm-Glo,1432
|
|
6
|
+
winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/WHEEL,sha256=CdxowNJ2RPRCxUxJWAQ4R_o8uA51cjotGywc47Ht6wA,101
|
|
7
|
+
winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
|
|
8
|
+
winrt_Windows.Networking.ServiceDiscovery.Dnssd-2.2.0.dist-info/RECORD,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
winrt
|