Class: Melos::Struct::ReInit

Inherits:
Base
  • Object
show all
Defined in:
lib/melos/struct/structs.rb

Constant Summary collapse

STRUCT =
[
  [:group_id, :vec],
  [:version, :uint16],
  [:cipher_suite, :uint16],
  [:extensions, :classes, Melos::Struct::Extension]
]

Instance Attribute Summary collapse

Method Summary

Methods inherited from Base

#deserialize_select_elem_with_context, #initialize, #raw

Constructor Details

This class inherits a constructor from Melos::Struct::Base

Instance Attribute Details

#cipher_suiteObject (readonly)

Returns the value of attribute cipher_suite.



404
405
406
# File 'lib/melos/struct/structs.rb', line 404

def cipher_suite
  @cipher_suite
end

#extensionsObject (readonly)

Returns the value of attribute extensions.



404
405
406
# File 'lib/melos/struct/structs.rb', line 404

def extensions
  @extensions
end

#group_idObject (readonly)

Returns the value of attribute group_id.



404
405
406
# File 'lib/melos/struct/structs.rb', line 404

def group_id
  @group_id
end

#versionObject (readonly)

Returns the value of attribute version.



404
405
406
# File 'lib/melos/struct/structs.rb', line 404

def version
  @version
end