Class: Nl::Linux::Dpll
- Inherits:
-
Genl::Family
- Object
- Family
- Genl::Family
- Nl::Linux::Dpll
- Defined in:
- nl-linux/generated/nl/linux/dpll.rb
Overview
DPLL subsystem.
Defined Under Namespace
Modules: AttributeSets, Constants, Enums, Flags, Messages, Notifications, Structs Classes: AsyncOperations
Constant Summary collapse
- NAME =
"dpll"- VERSION =
1
Class Method Summary collapse
Instance Method Summary collapse
-
#async(stream_capacity: nil) ⇒ AsyncOperations
Returns the asynchronous operation facade for this family.
-
#do_device_get(**args) ⇒ Messages::DoDeviceGetReply
Get list of DPLL devices (dump) or attributes of a single dpll device.
-
#do_device_id_get(**args) ⇒ Messages::DoDeviceIdGetReply
Get id of dpll device that matches given attributes.
-
#do_device_set(**args) ⇒ void
Set attributes for a DPLL device.
-
#do_pin_get(**args) ⇒ Messages::DoPinGetReply
Get list of pins and its attributes.
-
#do_pin_id_get(**args) ⇒ Messages::DoPinIdGetReply
Get id of a pin that matches given attributes.
-
#do_pin_set(**args) ⇒ void
Set attributes of a target pin.
-
#dump_device_get(**args, &block) ⇒ Object
Get list of DPLL devices (dump) or attributes of a single dpll device.
-
#dump_pin_get(**args, &block) ⇒ Object
Get list of pins and its attributes.
- #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) ⇒ Dpll .open(resolver: ::Nl::Linux::DEFAULT_RESOLVER, executor: nil, notification_capacity: DEFAULT_NOTIFICATION_CAPACITY) {|family| ... } ⇒ Object
26 27 28 |
# File 'nl-linux/generated/nl/linux/dpll.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.
2824 2825 2826 2827 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2824 def async(stream_capacity: nil) return @async_operations ||= build_async_facade(AsyncOperations) if stream_capacity.nil? build_async_facade(AsyncOperations, stream_capacity:) end |
#do_device_get(**args) ⇒ Messages::DoDeviceGetReply
Get list of DPLL devices (dump) or attributes of a single dpll device
Requires CAP_NET_ADMIN in the initial user namespace.
2558 2559 2560 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2558 def do_device_get(**args) (:"do", Messages::DoDeviceGetRequest, Messages::DoDeviceGetReply, args) end |
#do_device_id_get(**args) ⇒ Messages::DoDeviceIdGetReply
Get id of dpll device that matches given attributes
Requires CAP_NET_ADMIN in the initial user namespace.
2546 2547 2548 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2546 def do_device_id_get(**args) (:"do", Messages::DoDeviceIdGetRequest, Messages::DoDeviceIdGetReply, args) end |
#do_device_set(**args) ⇒ void
This method returns an undefined value.
Set attributes for a DPLL device
Requires CAP_NET_ADMIN in the initial user namespace.
2596 2597 2598 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2596 def do_device_set(**args) (:"do", Messages::DoDeviceSetRequest, nil, args) end |
#do_pin_get(**args) ⇒ Messages::DoPinGetReply
Get list of pins and its attributes.
- dump request without any attributes given - list all the pins in the system
- dump request with target dpll - list all the pins registered with a given dpll device
- do request with target dpll and target pin - single pin attributes
Requires CAP_NET_ADMIN in the initial user namespace.
2631 2632 2633 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2631 def do_pin_get(**args) (:"do", Messages::DoPinGetRequest, Messages::DoPinGetReply, args) end |
#do_pin_id_get(**args) ⇒ Messages::DoPinIdGetReply
Get id of a pin that matches given attributes
Requires CAP_NET_ADMIN in the initial user namespace.
2613 2614 2615 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2613 def do_pin_id_get(**args) (:"do", Messages::DoPinIdGetRequest, Messages::DoPinIdGetReply, args) end |
#do_pin_set(**args) ⇒ void
This method returns an undefined value.
Set attributes of a target pin
Requires CAP_NET_ADMIN in the initial user namespace.
2680 2681 2682 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2680 def do_pin_set(**args) (:"do", Messages::DoPinSetRequest, nil, args) end |
#dump_device_get(**args) ⇒ Array<Messages::DumpDeviceGetReply> #dump_device_get(**args) {|reply| ... } ⇒ void
Get list of DPLL devices (dump) or attributes of a single dpll device
Requires CAP_NET_ADMIN in the initial user namespace.
2577 2578 2579 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2577 def dump_device_get(**args, &block) (:"dump", Messages::DumpDeviceGetRequest, Messages::DumpDeviceGetReply, args, &block) end |
#dump_pin_get(**args) ⇒ Array<Messages::DumpPinGetReply> #dump_pin_get(**args) {|reply| ... } ⇒ void
Get list of pins and its attributes.
- dump request without any attributes given - list all the pins in the system
- dump request with target dpll - list all the pins registered with a given dpll device
- do request with target dpll and target pin - single pin attributes
Requires CAP_NET_ADMIN in the initial user namespace.
2658 2659 2660 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2658 def dump_pin_get(**args, &block) (:"dump", Messages::DumpPinGetRequest, Messages::DumpPinGetReply, args, &block) end |
#subscribe(*groups) ⇒ self
2831 2832 2833 2834 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2831 def subscribe(*groups) = super # @rbs (*(:monitor) groups) -> self # @param [Array<:monitor>] groups # @return [self] |
#unsubscribe(*groups) ⇒ self
2835 |
# File 'nl-linux/generated/nl/linux/dpll.rb', line 2835 def unsubscribe(*groups) = super |