Class: Moleculer::Packets::Discover

Inherits:
Base
  • Object
show all
Defined in:
lib/moleculer/packets/discover.rb

Overview

Represents a DISCOVER packet

Instance Attribute Summary

Attributes inherited from Base

#config

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

#topicObject



10
11
12
13
14
# File 'lib/moleculer/packets/discover.rb', line 10

def topic
  return "#{super}.#{node_id}" if node_id

  super
end