LIRC libraries
LinuxInfraredRemoteControl
lirc.client.RawConnection Class Reference

Interface to receive code strings as described in lircd(8). More...

Inheritance diagram for lirc.client.RawConnection:
lirc.client.AbstractConnection lirc.client.CommandConnection

Public Member Functions

def __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()
 
def close (self)
 Implements AbstractConnection.close()
 
- Public Member Functions inherited from lirc.client.AbstractConnection
def __enter__ (self)
 
def __exit__ (self, exc_type, exc, traceback)
 

Detailed Description

Interface to receive code strings as described in lircd(8).

Parameters
  • socket_path: lircd output socket path, see get_default_socket_path() for defaults.
  • prog: Program name used in lircrc decoding, see ircat(1). Could be omitted if only raw keypresses should be read.

Definition at line 207 of file client.py.


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