Home
last modified time | relevance | path

Searched refs:DatagramProtocol (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Lib/asyncio/
Dprotocols.py103 class DatagramProtocol(BaseProtocol): class
/external/python/cpython3/Doc/library/
Dasyncio-protocol.rst312 .. class:: DatagramProtocol
326 These callbacks may be called on :class:`Protocol`, :class:`DatagramProtocol`
416 The following callbacks are called on :class:`DatagramProtocol` instances.
418 .. method:: DatagramProtocol.datagram_received(data, addr)
424 .. method:: DatagramProtocol.error_received(exc)
439 :class:`DatagramProtocol` and :class:`SubprocessProtocol` instances:
466 for :class:`DatagramProtocol`, because send failures caused by
471 :meth:`DatagramProtocol.error_received` but otherwise ignored.
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_base_events.py956 class MyDatagramProto(asyncio.DatagramProtocol):
1462 asyncio.DatagramProtocol, remote_addr=('127.0.0.1', 0))
1472 asyncio.DatagramProtocol, family=socket.AF_INET)
1477 asyncio.DatagramProtocol, local_addr=('127.0.0.1', 0))
1484 asyncio.DatagramProtocol,
1494 asyncio.DatagramProtocol, family=socket.AF_INET)
1502 asyncio.DatagramProtocol)
Dtest_events.py127 class MyDatagramProto(asyncio.DatagramProtocol):
2651 dp = asyncio.DatagramProtocol()
Dtest_selector_events.py1510 self.protocol = test_utils.make_test_protocol(asyncio.DatagramProtocol)