![]() |
LIRC libraries
LinuxInfraredRemoteControl
|
Abstract interface for all connections. More...
Public Member Functions | |
| def | __enter__ |
| def | __exit__ |
| def | readline |
| Read a buffered line. More... | |
| def | fileno |
| Return the file nr used for IO, suitable for select() etc. More... | |
| def | has_data |
| Return true if next readline(None) won't block . More... | |
| def | close |
| Close/release all resources. | |
| def lirc.client.AbstractConnection.fileno | ( | self, | |
| int | |||
| ) |
| def lirc.client.AbstractConnection.has_data | ( | self, | |
| bool | |||
| ) |
| def lirc.client.AbstractConnection.readline | ( | self, | |
| timeout | |||
| ) |
Read a buffered line.
Returns code string as described in lircd(8) without trailing newline or None.
Raises TimeoutException if timeout > 0 expires.