Class: Nl::Linux::Handshake::Notifications::Ready
Overview
Notify handlers that a new handshake request is waiting
Constant Summary
collapse
- TYPE =
1
nil
- ATTRIBUTE_SET =
AttributeSets::Accept
- ATTRIBUTES =
Ractor.make_shareable(%i[sockfd message_type timeout auth_mode peer_identity certificate peername keyring])
Instance Attribute Summary
#attributes, #fixed_header
Instance Method Summary
collapse
decode
#append_attribute, decode, #initialize
#encode, #initialize
Instance Method Details
#auth_mode ⇒ Integer
416
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 416
def auth_mode; attributes[:"auth_mode"]&.value; end
|
424
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 424
def certificate; attributes[:"certificate"].map(&:value); end
|
#keyring ⇒ Integer
432
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 432
def keyring; attributes[:"keyring"]&.value; end
|
#message_type ⇒ Integer
407
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 407
def message_type; attributes[:"message_type"]&.value; end
|
#peer_identity ⇒ Array<Integer>
420
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 420
def peer_identity; attributes[:"peer_identity"].map(&:value); end
|
#peername ⇒ String
428
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 428
def peername; attributes[:"peername"]&.value; end
|
#sockfd ⇒ Integer
402
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 402
def sockfd; attributes[:"sockfd"]&.value; end
|
#timeout ⇒ Integer
411
|
# File 'nl-linux/generated/nl/linux/handshake.rb', line 411
def timeout; attributes[:"timeout"]&.value; end
|