Class: Quark::MdkDiscovery::Protocol::Active
- Inherits:
-
Object
- Object
- Quark::MdkDiscovery::Protocol::Active
- Extended by:
- DatawireQuarkCore::Static
- Defined in:
- lib/mdk_discovery/protocol.rb
Constant Summary
Constants included from DatawireQuarkCore::Static
DatawireQuarkCore::Static::Unassigned
Instance Attribute Summary collapse
-
#node ⇒ Object
Returns the value of attribute node.
-
#ttl ⇒ Object
Returns the value of attribute ttl.
Instance Method Summary collapse
- #__init_fields__ ⇒ Object
- #_getClass ⇒ Object
- #_getField(name) ⇒ Object
- #_setField(name, value) ⇒ Object
-
#initialize ⇒ Active
constructor
A new instance of Active.
Methods included from DatawireQuarkCore::Static
_lazy_statics, static, unlazy_statics
Constructor Details
#initialize ⇒ Active
Returns a new instance of Active.
387 388 389 390 391 392 |
# File 'lib/mdk_discovery/protocol.rb', line 387 def initialize() super() nil end |
Instance Attribute Details
#node ⇒ Object
Returns the value of attribute node.
379 380 381 |
# File 'lib/mdk_discovery/protocol.rb', line 379 def node @node end |
#ttl ⇒ Object
Returns the value of attribute ttl.
379 380 381 |
# File 'lib/mdk_discovery/protocol.rb', line 379 def ttl @ttl end |
Instance Method Details
#__init_fields__ ⇒ Object
435 436 437 438 439 440 441 442 |
# File 'lib/mdk_discovery/protocol.rb', line 435 def __init_fields__() super self.node = nil self.ttl = nil nil end |
#_getClass ⇒ Object
397 398 399 400 401 402 |
# File 'lib/mdk_discovery/protocol.rb', line 397 def _getClass() return "mdk_discovery.protocol.Active" nil end |
#_getField(name) ⇒ Object
404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 |
# File 'lib/mdk_discovery/protocol.rb', line 404 def _getField(name) if ((name) == ("_json_type")) return ::Quark.mdk_discovery.protocol.Active._json_type end if ((name) == ("node")) return (self).node end if ((name) == ("ttl")) return (self).ttl end return nil nil end |
#_setField(name, value) ⇒ Object
420 421 422 423 424 425 426 427 428 429 430 431 432 433 |
# File 'lib/mdk_discovery/protocol.rb', line 420 def _setField(name, value) if ((name) == ("_json_type")) ::Quark.mdk_discovery.protocol.Active._json_type = ::DatawireQuarkCore.cast(value) { ::String } end if ((name) == ("node")) (self).node = ::DatawireQuarkCore.cast(value) { ::Quark.mdk_discovery.Node } end if ((name) == ("ttl")) (self).ttl = ::DatawireQuarkCore.cast(value) { ::Float } end nil end |