Class: Quark::MdkRuntime::WSMessage
- Inherits:
-
DatawireQuarkCore::QuarkObject
- Object
- DatawireQuarkCore::QuarkObject
- Quark::MdkRuntime::WSMessage
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/mdk_runtime.rb
Overview
A message was received from the server.
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Attribute Summary collapse
-
#body ⇒ Object
Returns the value of attribute body.
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize(body) ⇒ WSMessage
constructor
A new instance of WSMessage.
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Methods inherited from DatawireQuarkCore::QuarkObject
Constructor Details
#initialize(body) ⇒ WSMessage
Returns a new instance of WSMessage.
475 476 477 478 479 480 481 |
# File 'lib/mdk_runtime.rb', line 475 def initialize(body) self.__init_fields__ (self).body = body nil end |
Instance Attribute Details
#body ⇒ Object
Returns the value of attribute body.
468 469 470 |
# File 'lib/mdk_runtime.rb', line 468 def body @body end |
Instance Method Details
#__init_fields__ ⇒ Object
512 513 514 515 516 517 |
# File 'lib/mdk_runtime.rb', line 512 def __init_fields__() self.body = nil nil end |
#_getClass ⇒ Object
486 487 488 489 490 491 |
# File 'lib/mdk_runtime.rb', line 486 def _getClass() return "mdk_runtime.WSMessage" nil end |
#_getField(name) ⇒ Object
493 494 495 496 497 498 499 500 501 |
# File 'lib/mdk_runtime.rb', line 493 def _getField(name) if ((name) == ("body")) return (self).body end return nil nil end |
#_setField(name, value) ⇒ Object
503 504 505 506 507 508 509 510 |
# File 'lib/mdk_runtime.rb', line 503 def _setField(name, value) if ((name) == ("body")) (self).body = ::DatawireQuarkCore.cast(value) { ::String } end nil end |