|
LIRC libraries
Linux Infrared Remote Control
|
Command, parser and connection container with a run() method. More...
Public Member Functions | |
| __init__ (self, str cmd, AbstractConnection connection, float timeout=0.4) | |
| run (self, float timeout=None) | |
| Run the command and return a Reply. | |
Protected Attributes | |
| _conn = connection | |
| _cmd_string = cmd | |
| _parser = ReplyParser() | |
| lirc.client.Command.__init__ | ( | self, | |
| str | cmd, | ||
| AbstractConnection | connection, | ||
| float | timeout = 0.4 ) |
| lirc.client.Command.run | ( | self, | |
| float | timeout = None ) |
Run the command and return a Reply.
Timeout as of AbstractConnection.readline()
|
protected |