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.
37031 37032 37033 37034 37035 37036 |
# File 'lib/datawire_mdk_md.rb', line 37031 def initialize() super("quark.bool", "_finished", ::DatawireQuarkCore::List.new(["quark.Object", "quark.concurrent.Condition"])) nil end |
Instance Method Details
#__init_fields__ ⇒ Object
37070 37071 37072 37073 37074 37075 |
# File 'lib/datawire_mdk_md.rb', line 37070 def __init_fields__() super nil end |
#_getClass ⇒ Object
37049 37050 37051 37052 37053 37054 |
# File 'lib/datawire_mdk_md.rb', line 37049 def _getClass() return ::DatawireQuarkCore.cast(nil) { ::String } nil end |
#_getField(name) ⇒ Object
37056 37057 37058 37059 37060 37061 |
# File 'lib/datawire_mdk_md.rb', line 37056 def _getField(name) return nil nil end |
#_setField(name, value) ⇒ Object
37063 37064 37065 37066 37067 37068 |
# File 'lib/datawire_mdk_md.rb', line 37063 def _setField(name, value) nil nil end |
#invoke(object, args) ⇒ Object
37041 37042 37043 37044 37045 37046 37047 |
# File 'lib/datawire_mdk_md.rb', line 37041 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 |