Class: Nl::Linux::Lockd
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Lockd
- Defined in:
- nl-linux/generated/nl/linux/lockd.rb
Overview
lockd configuration over generic netlink
Defined Under Namespace
Modules: AttributeSets, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"lockd"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_server_get(**args) ⇒ Messages::DoServerGetReply
get the lockd server parameters.
-
#do_server_set(**args) ⇒ void
set the lockd server parameters.
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Lockd .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 26 def self.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) super end |
Instance Method Details
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
199 200 201 202 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 199 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_server_get(**args) ⇒ Messages::DoServerGetReply
get the lockd server parameters
165 166 167 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 165 def do_server_get(**args) (:"do", Messages::DoServerGetRequest, Messages::DoServerGetReply, args) end |
#do_server_set(**args) ⇒ void
This method returns an undefined value.
set the lockd server parameters
Requires CAP_NET_ADMIN in the initial user namespace.
157 158 159 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 157 def do_server_set(**args) (:"do", Messages::DoServerSetRequest, nil, args) end |