Class: Nl::Protocols::Genl::Message

Inherits:
Raw::Message show all
Defined in:
lib/nl/protocols/genl.rb

Instance Attribute Summary

Attributes inherited from Raw::Message

#attributes, #fixed_header, #nlmsg_header

Class Method Summary collapse

Methods inherited from Raw::Message

#append_attribute, #encode, from_params, #initialize

Constructor Details

This class inherits a constructor from Nl::Protocols::Raw::Message

Class Method Details

.decode(decoder, header) ⇒ Object



44
45
46
47
# File 'lib/nl/protocols/genl.rb', line 44

def self.decode(decoder, header)
  genlhdr = GenlMsgHdr.decode(decoder)
  super(decoder, header, type: genlhdr.cmd)
end