Class: Nl::Linux::Handshake::AsyncOperations

Inherits:
Object
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/handshake.rb

Instance Method Summary collapse

Instance Method Details

#do_accept(**args) ⇒ Nl::Async::Future<Messages::DoAcceptReply>

Handler retrieves next queued handshake request

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

Returns:

See Also:



474
475
476
# File 'nl-linux/generated/nl/linux/handshake.rb', line 474

def do_accept(**args)
  @exchange.call(:"do", Messages::DoAcceptRequest, Messages::DoAcceptReply, args)
end

#do_done(**args) ⇒ Nl::Async::Future<void>

Handler reports handshake completion

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

  • status (Integer)
  • sockfd (Integer)
  • remote_auth (Array<Integer>)

Returns:

See Also:



487
488
489
# File 'nl-linux/generated/nl/linux/handshake.rb', line 487

def do_done(**args)
  @exchange.call(:"do", Messages::DoDoneRequest, nil, args)
end