Class: Quark::MdkProtocol::WSConnected
- Inherits:
-
DatawireQuarkCore::QuarkObject
- Object
- DatawireQuarkCore::QuarkObject
- Quark::MdkProtocol::WSConnected
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/mdk_protocol.rb
Overview
Sent to a subscriber when connection happens.
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Attribute Summary collapse
-
#websock ⇒ Object
Returns the value of attribute websock.
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize(websock) ⇒ WSConnected
constructor
A new instance of WSConnected.
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Methods inherited from DatawireQuarkCore::QuarkObject
Constructor Details
#initialize(websock) ⇒ WSConnected
Returns a new instance of WSConnected.
859 860 861 862 863 864 865 |
# File 'lib/mdk_protocol.rb', line 859 def initialize(websock) self.__init_fields__ (self).websock = websock nil end |
Instance Attribute Details
#websock ⇒ Object
Returns the value of attribute websock.
852 853 854 |
# File 'lib/mdk_protocol.rb', line 852 def websock @websock end |
Instance Method Details
#__init_fields__ ⇒ Object
896 897 898 899 900 901 |
# File 'lib/mdk_protocol.rb', line 896 def __init_fields__() self.websock = nil nil end |
#_getClass ⇒ Object
870 871 872 873 874 875 |
# File 'lib/mdk_protocol.rb', line 870 def _getClass() return "mdk_protocol.WSConnected" nil end |
#_getField(name) ⇒ Object
877 878 879 880 881 882 883 884 885 |
# File 'lib/mdk_protocol.rb', line 877 def _getField(name) if ((name) == ("websock")) return (self).websock end return nil nil end |
#_setField(name, value) ⇒ Object
887 888 889 890 891 892 893 894 |
# File 'lib/mdk_protocol.rb', line 887 def _setField(name, value) if ((name) == ("websock")) (self).websock = ::DatawireQuarkCore.cast(value) { ::Quark.mdk_runtime.actors.Actor } end nil end |