LIRC libraries
LinuxInfraredRemoteControl
 All Classes Files Functions Variables Typedefs Enumerations Macros Modules Pages
lirc.client.ReplyParser Class Reference

Handles the actual parsing of a command reply. More...

Inheritance diagram for lirc.client.ReplyParser:
lirc.client.Reply

Public Member Functions

def __init__
 
def is_completed
 Returns true if no more reply input is required. More...
 
def feed
 Enter a line of data into parsing FSM, update state. More...
 
- Public Member Functions inherited from lirc.client.Reply
def __init__
 

Public Attributes

 last_line
 
 result
 
- Public Attributes inherited from lirc.client.Reply
 result
 Enum Result, reflects parser state. More...
 
 success
 bool, reflects SUCCESS/ERROR. More...
 
 data
 List of lines, the command DATA payload. More...
 
 sighup
 bool, reflects if a SIGHUP package has been received
 
 last_line
 str, last input line (for error messages). More...
 

Detailed Description

Handles the actual parsing of a command reply.

Definition at line 442 of file client.py.

Member Function Documentation

def lirc.client.ReplyParser.feed (   self,
  line 
)

Enter a line of data into parsing FSM, update state.

Definition at line 455 of file client.py.

def lirc.client.ReplyParser.is_completed (   self,
  bool 
)

Returns true if no more reply input is required.

Definition at line 451 of file client.py.


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