Class: Quark::MdkDiscovery::Synapse::Synapse
Constant Summary
DatawireQuarkCore::Static::Unassigned
Instance Attribute Summary collapse
Instance Method Summary
collapse
_lazy_statics, static, unlazy_statics
#to_s
Constructor Details
#initialize(directory_path, environment) ⇒ Synapse
Returns a new instance of Synapse.
45
46
47
48
49
50
51
52
|
# File 'lib/mdk_discovery/synapse.rb', line 45
def initialize(directory_path, environment)
self.__init_fields__
(self)._directory_path = directory_path
(self)._environment = environment
nil
end
|
Instance Attribute Details
#_directory_path ⇒ Object
Returns the value of attribute _directory_path.
38
39
40
|
# File 'lib/mdk_discovery/synapse.rb', line 38
def _directory_path
@_directory_path
end
|
#_environment ⇒ Object
Returns the value of attribute _environment.
38
39
40
|
# File 'lib/mdk_discovery/synapse.rb', line 38
def _environment
@_environment
end
|
Instance Method Details
#__init_fields__ ⇒ Object
103
104
105
106
107
108
109
|
# File 'lib/mdk_discovery/synapse.rb', line 103
def __init_fields__()
self._directory_path = nil
self._environment = nil
nil
end
|
#_getClass ⇒ Object
71
72
73
74
75
76
|
# File 'lib/mdk_discovery/synapse.rb', line 71
def _getClass()
return "mdk_discovery.synapse.Synapse"
nil
end
|
#_getField(name) ⇒ Object
78
79
80
81
82
83
84
85
86
87
88
89
|
# File 'lib/mdk_discovery/synapse.rb', line 78
def _getField(name)
if ((name) == ("_directory_path"))
return (self)._directory_path
end
if ((name) == ("_environment"))
return (self)._environment
end
return nil
nil
end
|
#_setField(name, value) ⇒ Object
91
92
93
94
95
96
97
98
99
100
101
|
# File 'lib/mdk_discovery/synapse.rb', line 91
def _setField(name, value)
if ((name) == ("_directory_path"))
(self)._directory_path = ::DatawireQuarkCore.cast(value) { ::String }
end
if ((name) == ("_environment"))
(self)._environment = ::DatawireQuarkCore.cast(value) { ::Quark.mdk_protocol.OperationalEnvironment }
end
nil
end
|
#create(subscriber, runtime) ⇒ Object
57
58
59
60
61
62
|
# File 'lib/mdk_discovery/synapse.rb', line 57
def create(subscriber, runtime)
return ::Quark.mdk_discovery.synapse._SynapseSource.new(subscriber, (self)._directory_path, runtime, (self)._environment)
nil
end
|
#isRegistrar ⇒ Object
64
65
66
67
68
69
|
# File 'lib/mdk_discovery/synapse.rb', line 64
def isRegistrar()
return false
nil
end
|