Class: Nanite::Advertise

Inherits:
Packet show all
Defined in:
lib/nanite/packets.rb

Overview

packet that is sent by workers to the mapper when worker initially comes online to advertise it’s services

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Packet

#to_json

Constructor Details

#initializeAdvertise

Returns a new instance of Advertise.



185
186
# File 'lib/nanite/packets.rb', line 185

def initialize
end

Class Method Details

.json_create(o) ⇒ Object



187
188
189
# File 'lib/nanite/packets.rb', line 187

def self.json_create(o)
  new
end