Class: Quark::DatawireMdkMd::QuarkConcurrentContextSwapMethod
- Inherits:
-
Object
- Object
- Quark::DatawireMdkMd::QuarkConcurrentContextSwapMethod
- Defined in:
- lib/datawire_mdk_md.rb
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize ⇒ QuarkConcurrentContextSwapMethod
constructor
A new instance of QuarkConcurrentContextSwapMethod.
- #invoke(object, args) ⇒ Object
Constructor Details
#initialize ⇒ QuarkConcurrentContextSwapMethod
Returns a new instance of QuarkConcurrentContextSwapMethod.
13205 13206 13207 13208 13209 13210 |
# File 'lib/datawire_mdk_md.rb', line 13205 def initialize() super("quark.void", "swap", ::DatawireQuarkCore::List.new(["quark.concurrent.Context"])) nil end |
Instance Method Details
#__init_fields__ ⇒ Object
13245 13246 13247 13248 13249 13250 |
# File 'lib/datawire_mdk_md.rb', line 13245 def __init_fields__() super nil end |
#_getClass ⇒ Object
13224 13225 13226 13227 13228 13229 |
# File 'lib/datawire_mdk_md.rb', line 13224 def _getClass() return ::DatawireQuarkCore.cast(nil) { ::String } nil end |
#_getField(name) ⇒ Object
13231 13232 13233 13234 13235 13236 |
# File 'lib/datawire_mdk_md.rb', line 13231 def _getField(name) return nil nil end |
#_setField(name, value) ⇒ Object
13238 13239 13240 13241 13242 13243 |
# File 'lib/datawire_mdk_md.rb', line 13238 def _setField(name, value) nil nil end |
#invoke(object, args) ⇒ Object
13215 13216 13217 13218 13219 13220 13221 13222 |
# File 'lib/datawire_mdk_md.rb', line 13215 def invoke(object, args) obj = ::DatawireQuarkCore.cast(object) { ::Quark.quark.concurrent.Context } ::Quark.quark.concurrent.Context.swap(::DatawireQuarkCore.cast((args)[0]) { ::Quark.quark.concurrent.Context }) return nil nil end |