Class: Nl::Linux::Handshake::AttributeSets::Accept
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Handshake::AttributeSets::Accept
- Defined in:
- nl-linux/generated/nl/linux/handshake.rb
Defined Under Namespace
Classes: Attribute, AuthMode, Certificate, HandlerClass, Keyring, MessageType, PeerIdentity, Peername, Sockfd, Timeout
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
-
#auth_mode ⇒ Integer
Known enum values are defined in Enums::Auth.
- #certificate ⇒ Array<AttributeSets::X509>
-
#handler_class ⇒ Integer
Known enum values are defined in Enums::HandlerClass.
- #keyring ⇒ Integer
-
#message_type ⇒ Integer
Known enum values are defined in Enums::MsgType.
- #peer_identity ⇒ Array<Integer>
- #peername ⇒ String
- #sockfd ⇒ Integer
- #timeout ⇒ Integer
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
239 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 239 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
245 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 245 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#auth_mode ⇒ Integer
Known enum values are defined in Enums::Auth.
216 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 216 def auth_mode; self[:"auth_mode"]&.value; end |
#certificate ⇒ Array<AttributeSets::X509>
224 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 224 def certificate; self[:"certificate"].map(&:value); end |
#handler_class ⇒ Integer
Known enum values are defined in Enums::HandlerClass.
202 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 202 def handler_class; self[:"handler_class"]&.value; end |
#keyring ⇒ Integer
232 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 232 def keyring; self[:"keyring"]&.value; end |
#message_type ⇒ Integer
Known enum values are defined in Enums::MsgType.
207 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 207 def ; self[:"message_type"]&.value; end |
#peer_identity ⇒ Array<Integer>
220 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 220 def peer_identity; self[:"peer_identity"].map(&:value); end |
#peername ⇒ String
228 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 228 def peername; self[:"peername"]&.value; end |
#sockfd ⇒ Integer
197 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 197 def sockfd; self[:"sockfd"]&.value; end |
#timeout ⇒ Integer
211 |
# File 'nl-linux/generated/nl/linux/handshake.rb', line 211 def timeout; self[:"timeout"]&.value; end |