Class: Quark::MdkProtocol::Close

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeClose



749
750
751
752
753
754
# File 'lib/mdk_protocol.rb', line 749

def initialize()
    
    super()

    nil
end

Instance Attribute Details

#errorObject

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

#_getClassObject



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