Class: Nl::Linux::Nfsd::Messages::DoPoolModeGetReply

Inherits:
Genl::Message show all
Defined in:
nl-linux/generated/nl/linux/nfsd.rb

Overview

get info about server pool-mode

Constant Summary collapse

TYPE =
9
FIXED_HEADER =
nil
ATTRIBUTE_SET =
AttributeSets::PoolMode
ATTRIBUTES =
Ractor.make_shareable(%i[mode npools])

Instance Attribute Summary

Attributes included from StructuredPayload

#attributes, #fixed_header

Instance Method Summary collapse

Methods inherited from Genl::Message

decode

Methods inherited from Raw::Message

#append_attribute, decode, #initialize

Methods included from StructuredPayload

#encode, #initialize

Constructor Details

This class inherits a constructor from Nl::Raw::Message

Instance Method Details

#mode ⇒ String

Returns:

  • (String)

See Also:



1492
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1492

def mode; attributes[:"mode"]&.value; end

#npools ⇒ Integer

Returns:

  • (Integer)

See Also:



1496
# File 'nl-linux/generated/nl/linux/nfsd.rb', line 1496

def npools; attributes[:"npools"]&.value; end