Class: Nl::Linux::Lockd::AttributeSets::Server
- Inherits:
-
AttributeSet
- Object
- AttributeSet
- Nl::Linux::Lockd::AttributeSets::Server
- Defined in:
- nl-linux/generated/nl/linux/lockd.rb
Defined Under Namespace
Classes: Attribute, Gracetime, TcpPort, UdpPort
Constant Summary
Constants inherited from AttributeSet
Class Method Summary collapse
-
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
-
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
Instance Method Summary collapse
Methods inherited from AttributeSet
#<<, #[], build_attributes, decode, #encode, #initialize
Constructor Details
This class inherits a constructor from Nl::AttributeSet
Class Method Details
.by_name(name) ⇒ Attribute
Looks up Attribute class by name.
84 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 84 def by_name(name); BY_NAME.fetch(name); end |
.by_type(type) ⇒ Attribute
Looks up Attribute class by type value.
90 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 90 def by_type(type); BY_TYPE.fetch(type); end |
Instance Method Details
#gracetime ⇒ Integer
69 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 69 def gracetime; self[:"gracetime"]&.value; end |
#tcp_port ⇒ Integer
73 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 73 def tcp_port; self[:"tcp_port"]&.value; end |
#udp_port ⇒ Integer
77 |
# File 'nl-linux/generated/nl/linux/lockd.rb', line 77 def udp_port; self[:"udp_port"]&.value; end |