|
LIRC libraries
Linux Infrared Remote Control
|
Interface to receive code strings as described in lircd(8). More...
Public Member Functions | |
| __init__ (self, str socket_path=None, str prog=_DEFAULT_PROG) | |
| str | readline (self, float timeout=None) |
| Implements AbstractConnection.readline(). | |
| int | fileno (self) |
| Implements AbstractConnection.fileno(). | |
| bool | has_data (self) |
| Implements AbstractConnection.has_data() | |
| close (self) | |
| Implements AbstractConnection.close() | |
| Public Member Functions inherited from lirc.client.AbstractConnection | |
| __enter__ (self) | |
| __exit__ (self, exc_type, exc, traceback) | |
Protected Attributes | |
| _socket = socket.fromfd(fd, socket.AF_UNIX, socket.SOCK_STREAM) | |
| _select = selectors.DefaultSelector() | |
| _buffer = bytearray(0) | |
Interface to receive code strings as described in lircd(8).
| lirc.client.RawConnection.__init__ | ( | self, | |
| str | socket_path = None, | ||
| str | prog = _DEFAULT_PROG ) |
| lirc.client.RawConnection.close | ( | self | ) |
Implements AbstractConnection.close()
Reimplemented from lirc.client.AbstractConnection.
| int lirc.client.RawConnection.fileno | ( | self | ) |
Implements AbstractConnection.fileno().
Reimplemented from lirc.client.AbstractConnection.
| bool lirc.client.RawConnection.has_data | ( | self | ) |
Implements AbstractConnection.has_data()
Reimplemented from lirc.client.AbstractConnection.
| str lirc.client.RawConnection.readline | ( | self, | |
| float | timeout = None ) |
Implements AbstractConnection.readline().
Reimplemented from lirc.client.AbstractConnection.
|
protected |
|
protected |
|
protected |