Class: Quark::MdkRuntime::WSMessage

Inherits:
DatawireQuarkCore::QuarkObject show all
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

Instance Method Summary collapse

Methods included from DatawireQuarkCore::Static

_lazy_statics, static, unlazy_statics

Methods inherited from DatawireQuarkCore::QuarkObject

#to_s

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

#bodyObject

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

#_getClassObject



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