Class: Quark::DatawireMdkMd::MdkProtocolJSONParserDecodeMethod

Inherits:
Object
  • Object
show all
Defined in:
lib/datawire_mdk_md.rb

Instance Method Summary collapse

Constructor Details

#initializeMdkProtocolJSONParserDecodeMethod

Returns a new instance of MdkProtocolJSONParserDecodeMethod.



47294
47295
47296
47297
47298
47299
# File 'lib/datawire_mdk_md.rb', line 47294

def initialize()
    
    super("quark.Object", "decode", ::DatawireQuarkCore::List.new(["quark.String"]))

    nil
end

Instance Method Details

#__init_fields__Object



47333
47334
47335
47336
47337
47338
# File 'lib/datawire_mdk_md.rb', line 47333

def __init_fields__()
    
    super

    nil
end

#_getClassObject



47312
47313
47314
47315
47316
47317
# File 'lib/datawire_mdk_md.rb', line 47312

def _getClass()
    
    return ::DatawireQuarkCore.cast(nil) { ::String }

    nil
end

#_getField(name) ⇒ Object



47319
47320
47321
47322
47323
47324
# File 'lib/datawire_mdk_md.rb', line 47319

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



47326
47327
47328
47329
47330
47331
# File 'lib/datawire_mdk_md.rb', line 47326

def _setField(name, value)
    
    nil

    nil
end

#invoke(object, args) ⇒ Object



47304
47305
47306
47307
47308
47309
47310
# File 'lib/datawire_mdk_md.rb', line 47304

def invoke(object, args)
    
    obj = ::DatawireQuarkCore.cast(object) { ::Quark.mdk_protocol.JSONParser }
    return obj.decode(::DatawireQuarkCore.cast((args)[0]) { ::String })

    nil
end