LIRC libraries
 All Classes Files Functions Variables Typedefs Enumerations Macros Modules Pages
lirc.async_client.AsyncConnection Class Reference

Asynchronous read interface on top of an AbstractConnection. More...

Inheritance diagram for lirc.async_client.AsyncConnection:

Public Member Functions

def __init__
def close
 Clean up loop and the base connection. More...
def readline
def __aiter__
 Return async iterator. More...
def __anext__
def __aenter__
def __aexit__

Detailed Description

Asynchronous read interface on top of an AbstractConnection.

  • connection: Typically a lirc.RawConnection or lirc.LircdConnection.
  • loop: AbstractEventLoop, typically obtained using asyncio.get_event_loop().

Definition at line 53 of file

Member Function Documentation

def lirc.async_client.AsyncConnection.__aenter__ (   self)
Implement "async with". 

Definition at line 85 of file

def lirc.async_client.AsyncConnection.__aexit__ (   self,
Implement exit from "async with". 

Definition at line 89 of file

def lirc.async_client.AsyncConnection.__aiter__ (   self)

Return async iterator.

Definition at line 78 of file

def lirc.async_client.AsyncConnection.__anext__ (   self)
Implement async 

Definition at line 81 of file

def lirc.async_client.AsyncConnection.close (   self)

Clean up loop and the base connection.

Definition at line 70 of file

def lirc.async_client.AsyncConnection.readline (   self,
Asynchronous get next line from the connection. 

Definition at line 73 of file

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