Class: Quark::DatawireMdkMd::MdkUtilWaitForPromiseFinishedMethod
- Inherits:
-
Object
- Object
- Quark::DatawireMdkMd::MdkUtilWaitForPromiseFinishedMethod
- Defined in:
- lib/datawire_mdk_md.rb
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize ⇒ MdkUtilWaitForPromiseFinishedMethod
constructor
A new instance of MdkUtilWaitForPromiseFinishedMethod.
- #invoke(object, args) ⇒ Object
Constructor Details
#initialize ⇒ MdkUtilWaitForPromiseFinishedMethod
Returns a new instance of MdkUtilWaitForPromiseFinishedMethod.
37085 37086 37087 37088 37089 37090 |
# File 'lib/datawire_mdk_md.rb', line 37085 def initialize() super("quark.bool", "_finished", ::DatawireQuarkCore::List.new(["quark.Object", "quark.concurrent.Condition"])) nil end |
Instance Method Details
#__init_fields__ ⇒ Object
37124 37125 37126 37127 37128 37129 |
# File 'lib/datawire_mdk_md.rb', line 37124 def __init_fields__() super nil end |
#_getClass ⇒ Object
37103 37104 37105 37106 37107 37108 |
# File 'lib/datawire_mdk_md.rb', line 37103 def _getClass() return ::DatawireQuarkCore.cast(nil) { ::String } nil end |
#_getField(name) ⇒ Object
37110 37111 37112 37113 37114 37115 |
# File 'lib/datawire_mdk_md.rb', line 37110 def _getField(name) return nil nil end |
#_setField(name, value) ⇒ Object
37117 37118 37119 37120 37121 37122 |
# File 'lib/datawire_mdk_md.rb', line 37117 def _setField(name, value) nil nil end |
#invoke(object, args) ⇒ Object
37095 37096 37097 37098 37099 37100 37101 |
# File 'lib/datawire_mdk_md.rb', line 37095 def invoke(object, args) obj = ::DatawireQuarkCore.cast(object) { ::Quark.mdk_util.WaitForPromise } return obj._finished((args)[0], ::DatawireQuarkCore.cast((args)[1]) { ::DatawireQuarkCore::Condition }) nil end |