Class: Nl::Linux::Binder
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Binder
- Defined in:
- nl-linux/generated/nl/linux/binder.rb
Overview
Binder interface over generic netlink
Defined Under Namespace
Modules: AttributeSets, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"binder"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
- #subscribe(*groups) ⇒ self
- #unsubscribe(*groups) ⇒ self
Methods inherited from Genl::Family
Class Method Details
.open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) ⇒ Binder .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
31 32 33 |
# File 'nl-linux/generated/nl/linux/binder.rb', line 31 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.
291 292 293 294 |
# File 'nl-linux/generated/nl/linux/binder.rb', line 291 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#subscribe(*groups) ⇒ self
298 299 300 301 |
# File 'nl-linux/generated/nl/linux/binder.rb', line 298 def subscribe(*groups) = super # @rbs (*(:report) groups) -> self # @param [Array<:report>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
302 |
# File 'nl-linux/generated/nl/linux/binder.rb', line 302 def unsubscribe(*groups) = super |