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
Returns a new instance of Close.
742 743 744 745 746 747 |
# File 'lib/mdk_protocol.rb', line 742 def initialize() super() nil end |
Instance Attribute Details
#error ⇒ Object
Returns the value of attribute error.
734 735 736 |
# File 'lib/mdk_protocol.rb', line 734 def error @error end |
Instance Method Details
#__init_fields__ ⇒ Object
784 785 786 787 788 789 790 |
# File 'lib/mdk_protocol.rb', line 784 def __init_fields__() super self.error = nil nil end |
#_getClass ⇒ Object
752 753 754 755 756 757 |
# File 'lib/mdk_protocol.rb', line 752 def _getClass() return "mdk_protocol.Close" nil end |
#_getField(name) ⇒ Object
759 760 761 762 763 764 765 766 767 768 769 770 |
# File 'lib/mdk_protocol.rb', line 759 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
772 773 774 775 776 777 778 779 780 781 782 |
# File 'lib/mdk_protocol.rb', line 772 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 |