Class: Xap::Schema::XapBscInfo
- Inherits:
-
XapBscResponse
- Object
- XapMessage
- XapUnsupportedMessage
- XapBscMessage
- XapBscResponse
- Xap::Schema::XapBscInfo
- Defined in:
- lib/xap/schema/xap_bsc.rb
Overview
The xAP standard seems kind of silly for having separate info and event messages, especially since info messages may be sent at device startup, and the result of a command message must be an info message if the command message didn’t change anything, or an event message otherwise. Overall, the xAP protocol is excessively chatty. But, it seems a lot of DIY home automation systems support it, so it’s best to use the weak protocol you have rather than the perfect one you don’t.
Constant Summary collapse
- @@classname =
'xAPBSC.info'
Instance Attribute Summary
Attributes inherited from XapBscResponse
#display_text, #level, #state, #text
Attributes inherited from XapMessage
#headername, #hop, #msgclass, #src_addr, #target_addr, #uid, #version
Class Method Summary collapse
Methods inherited from XapBscResponse
Methods inherited from XapBscMessage
#each_block, #initialize, #inspect, parse
Methods inherited from XapUnsupportedMessage
Methods inherited from XapMessage
#initialize, parse, register_class, #to_s, #uid_endpoint
Constructor Details
This class inherits a constructor from Xap::Schema::XapBscResponse
Class Method Details
.classname ⇒ Object
411 412 413 |
# File 'lib/xap/schema/xap_bsc.rb', line 411 def self.classname @@classname end |