Class: Quark::DatawireMdkMd::MdkRuntimePromisePromise

Inherits:
Object
  • Object
show all
Extended by:
DatawireQuarkCore::Static
Defined in:
lib/datawire_mdk_md.rb

Constant Summary

Constants included from DatawireQuarkCore::Static

DatawireQuarkCore::Static::Unassigned

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Constructor Details

#initializeMdkRuntimePromisePromise

Returns a new instance of MdkRuntimePromisePromise.



32393
32394
32395
32396
32397
32398
32399
32400
32401
32402
32403
# File 'lib/datawire_mdk_md.rb', line 32393

def initialize()
    
    super("mdk_runtime.promise.Promise")
    (self).name = "mdk_runtime.promise.Promise"
    (self).parameters = ::DatawireQuarkCore::List.new([])
    (self).fields = ::DatawireQuarkCore::List.new([::Quark.quark.reflect.Field.new("quark.concurrent.Lock", "_lock"), ::Quark.quark.reflect.Field.new("quark.Object", "_successResult"), ::Quark.quark.reflect.Field.new("quark.error.Error", "_failureResult"), ::Quark.quark.reflect.Field.new("quark.bool", "_hasResult"), ::Quark.quark.reflect.Field.new("quark.List<mdk_runtime.promise._Callback>", "_successCallbacks"), ::Quark.quark.reflect.Field.new("quark.List<mdk_runtime.promise._Callback>", "_failureCallbacks"), ::Quark.quark.reflect.Field.new("mdk_runtime.actors.MessageDispatcher", "_dispatcher")])
    (self).methods = ::DatawireQuarkCore::List.new([::Quark.datawire_mdk_md.mdk_runtime_promise_Promise__maybeRunCallbacks_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise__resolve_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise__reject_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise_andThen_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise_andCatch_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise_andFinally_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise_andEither_Method.new(), ::Quark.datawire_mdk_md.mdk_runtime_promise_Promise_value_Method.new()])
    (self).parents = ::DatawireQuarkCore::List.new(["quark.Object"])

    nil
end

Instance Method Details

#__init_fields__Object



32443
32444
32445
32446
32447
32448
# File 'lib/datawire_mdk_md.rb', line 32443

def __init_fields__()
    
    super

    nil
end

#_getClassObject



32422
32423
32424
32425
32426
32427
# File 'lib/datawire_mdk_md.rb', line 32422

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

    nil
end

#_getField(name) ⇒ Object



32429
32430
32431
32432
32433
32434
# File 'lib/datawire_mdk_md.rb', line 32429

def _getField(name)
    
    return nil

    nil
end

#_setField(name, value) ⇒ Object



32436
32437
32438
32439
32440
32441
# File 'lib/datawire_mdk_md.rb', line 32436

def _setField(name, value)
    
    nil

    nil
end

#construct(args) ⇒ Object



32408
32409
32410
32411
32412
32413
# File 'lib/datawire_mdk_md.rb', line 32408

def construct(args)
    
    return ::Quark.mdk_runtime.promise.Promise.new(::DatawireQuarkCore.cast((args)[0]) { ::Quark.mdk_runtime.actors.MessageDispatcher })

    nil
end

#isAbstractObject



32415
32416
32417
32418
32419
32420
# File 'lib/datawire_mdk_md.rb', line 32415

def isAbstract()
    
    return false

    nil
end