Class: Moleculer::Packets::Discover
- Defined in:
- lib/moleculer/packets/discover.rb
Overview
Represents a DISCOVER packet
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
inherited, #initialize, packet_accessors, packet_attr, packet_name, #sender, #to_h, #ver
Constructor Details
This class inherits a constructor from Moleculer::Packets::Base
Instance Method Details
#topic ⇒ Object
10 11 12 13 14 |
# File 'lib/moleculer/packets/discover.rb', line 10 def topic return "#{super}.#{node_id}" if node_id super end |