userver: testsuite.asyncio_socket.AsyncioSocketsFactory Class Reference
Loading...
Searching...
No Matches
testsuite.asyncio_socket.AsyncioSocketsFactory Class Reference

Detailed Description

Definition at line 161 of file asyncio_socket.py.

Public Member Functions

 __init__ (self, loop=None)
 from_socket (self, sock, timeout=DEFAULT_TIMEOUT)
 socket (self, *args, timeout=DEFAULT_TIMEOUT)
 getaddrinfo (self, *args, timeout=DEFAULT_TIMEOUT, **kwargs)
 tcp (self, *, timeout=DEFAULT_TIMEOUT)
 udp (self, *, timeout=DEFAULT_TIMEOUT)
 socketpair (self, *args, timeout=DEFAULT_TIMEOUT, **kwargs)

Protected Attributes

 _loop = loop

Constructor & Destructor Documentation

◆ __init__()

testsuite.asyncio_socket.AsyncioSocketsFactory.__init__ ( self,
loop = None )

Definition at line 162 of file asyncio_socket.py.

Member Function Documentation

◆ from_socket()

testsuite.asyncio_socket.AsyncioSocketsFactory.from_socket ( self,
sock,
timeout = DEFAULT_TIMEOUT )

Definition at line 167 of file asyncio_socket.py.

◆ getaddrinfo()

testsuite.asyncio_socket.AsyncioSocketsFactory.getaddrinfo ( self,
* args,
timeout = DEFAULT_TIMEOUT,
** kwargs )

Definition at line 174 of file asyncio_socket.py.

◆ socket()

testsuite.asyncio_socket.AsyncioSocketsFactory.socket ( self,
* args,
timeout = DEFAULT_TIMEOUT )

Definition at line 170 of file asyncio_socket.py.

◆ socketpair()

testsuite.asyncio_socket.AsyncioSocketsFactory.socketpair ( self,
* args,
timeout = DEFAULT_TIMEOUT,
** kwargs )

Definition at line 184 of file asyncio_socket.py.

◆ tcp()

testsuite.asyncio_socket.AsyncioSocketsFactory.tcp ( self,
* ,
timeout = DEFAULT_TIMEOUT )

Definition at line 178 of file asyncio_socket.py.

◆ udp()

testsuite.asyncio_socket.AsyncioSocketsFactory.udp ( self,
* ,
timeout = DEFAULT_TIMEOUT )

Definition at line 181 of file asyncio_socket.py.

Member Data Documentation

◆ _loop

testsuite.asyncio_socket.AsyncioSocketsFactory._loop = loop
protected

Definition at line 165 of file asyncio_socket.py.


The documentation for this class was generated from the following file: