Class: Melos::Struct::Capabilities

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

Overview

7.2

Constant Summary collapse

STRUCT =
[
  [:versions, :vec],      # vec of ProtocolVersion (uint16)
  [:cipher_suites, :vec], # vec of CipherSuite (uint16)
  [:extensions, :vec],    # vec of ExtensionType (uint16)
  [:proposals, :vec],     # vec of ProposalTypes (uint16)
  [:credentials, :vec]    # vec of CredentialTypes (uint16)
]

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_suitesObject (readonly)

Returns the value of attribute cipher_suites.



79
80
81
# File 'lib/melos/struct/structs.rb', line 79

def cipher_suites
  @cipher_suites
end

#credentialsObject (readonly)

Returns the value of attribute credentials.



79
80
81
# File 'lib/melos/struct/structs.rb', line 79

def credentials
  @credentials
end

#extensionsObject (readonly)

Returns the value of attribute extensions.



79
80
81
# File 'lib/melos/struct/structs.rb', line 79

def extensions
  @extensions
end

#proposalsObject (readonly)

Returns the value of attribute proposals.



79
80
81
# File 'lib/melos/struct/structs.rb', line 79

def proposals
  @proposals
end

#versionsObject (readonly)

Returns the value of attribute versions.



79
80
81
# File 'lib/melos/struct/structs.rb', line 79

def versions
  @versions
end