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.
866 867 868 869 870 871 872 |
# File 'lib/mdk_protocol.rb', line 866 def initialize(websock) self.__init_fields__ (self).websock = websock nil end |
Instance Attribute Details
#websock ⇒ Object
Returns the value of attribute websock.
859 860 861 |
# File 'lib/mdk_protocol.rb', line 859 def websock @websock end |
Instance Method Details
#__init_fields__ ⇒ Object
903 904 905 906 907 908 |
# File 'lib/mdk_protocol.rb', line 903 def __init_fields__() self.websock = nil nil end |
#_getClass ⇒ Object
877 878 879 880 881 882 |
# File 'lib/mdk_protocol.rb', line 877 def _getClass() return "mdk_protocol.WSConnected" nil end |
#_getField(name) ⇒ Object
884 885 886 887 888 889 890 891 892 |
# File 'lib/mdk_protocol.rb', line 884 def _getField(name) if ((name) == ("websock")) return (self).websock end return nil nil end |
#_setField(name, value) ⇒ Object
894 895 896 897 898 899 900 901 |
# File 'lib/mdk_protocol.rb', line 894 def _setField(name, value) if ((name) == ("websock")) (self).websock = ::DatawireQuarkCore.cast(value) { ::Quark.mdk_runtime.actors.Actor } end nil end |