Class: Quark::MdkProtocol::Close
- Inherits:
-
Object
- Object
- Quark::MdkProtocol::Close
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/mdk_protocol.rb
Overview
Close the event stream.
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Attribute Summary collapse
-
#error ⇒ Object
Returns the value of attribute error.
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize ⇒ Close
constructor
A new instance of Close.
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Constructor Details
#initialize ⇒ Close
749 750 751 752 753 754 |
# File 'lib/mdk_protocol.rb', line 749 def initialize() super() nil end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
741 742 743 |
# File 'lib/mdk_protocol.rb', line 741 def error @error end |
Instance Method Details
#__init_fields__ ⇒ Object
791 792 793 794 795 796 797 |
# File 'lib/mdk_protocol.rb', line 791 def __init_fields__() super self.error = nil nil end |
#_getClass ⇒ Object
759 760 761 762 763 764 |
# File 'lib/mdk_protocol.rb', line 759 def _getClass() return "mdk_protocol.Close" nil end |
#_getField(name) ⇒ Object
766 767 768 769 770 771 772 773 774 775 776 777 |
# File 'lib/mdk_protocol.rb', line 766 def _getField(name) if ((name) == ("_json_type")) return ::Quark.mdk_protocol.Close._json_type end if ((name) == ("error")) return (self).error end return nil nil end |
#_setField(name, value) ⇒ Object
779 780 781 782 783 784 785 786 787 788 789 |
# File 'lib/mdk_protocol.rb', line 779 def _setField(name, value) if ((name) == ("_json_type")) ::Quark.mdk_protocol.Close._json_type = ::DatawireQuarkCore.cast(value) { ::String } end if ((name) == ("error")) (self).error = ::DatawireQuarkCore.cast(value) { ::Quark.mdk_protocol.ProtocolError } end nil end |