Class: Nl::Linux::Lockd::AsyncOperations
- Inherits:
-
Object
- Object
- Nl::Linux::Lockd::AsyncOperations
- Defined in:
- nl-linux/generated/nl/linux/lockd.rb
Instance Method Summary collapse
-
#do_server_get(**args) ⇒ Nl::Async::Future<Messages::DoServerGetReply>
get the lockd server parameters.
-
#do_server_set(**args) ⇒ Nl::Async::Future<void>
set the lockd server parameters.
Instance Method Details
#do_server_get(**args) ⇒ Nl::Async::Future<Messages::DoServerGetReply>
get the lockd server parameters
191 192 193 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 191 def do_server_get(**args) @exchange.call(:"do", Messages::DoServerGetRequest, Messages::DoServerGetReply, args) end |
#do_server_set(**args) ⇒ Nl::Async::Future<void>
set the lockd server parameters
Requires CAP_NET_ADMIN in the initial user namespace.
183 184 185 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 183 def do_server_set(**args) @exchange.call(:"do", Messages::DoServerSetRequest, nil, args) end |