Class: Nl::Linux::Sunrpc::AttributeSets::IpMap

Inherits:
AttributeSet
  • Object
show all
Defined in:
nl-linux/generated/nl/linux/sunrpc_cache.rb

Defined Under Namespace

Classes: Addr, Attribute, Class, Domain, Expiry, Negative, Seqno

Constant Summary

Constants inherited from AttributeSet

AttributeSet::SELECTOR_NAMES

Class Method Summary collapse

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.

Parameters:

  • name (Symbol)

Returns:



163
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 163

def by_name(name); BY_NAME.fetch(name); end

.by_type(type) ⇒ Attribute

Looks up Attribute class by type value.

Parameters:

  • type (Integer)

Returns:



169
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 169

def by_type(type); BY_TYPE.fetch(type); end

Instance Method Details

#addr ⇒ String

Returns:

  • (String)

See Also:



144
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 144

def addr; self[:"addr"]&.value; end

#class ⇒ String

Returns:

  • (String)

See Also:



140
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 140

def class; self[:"class"]&.value; end

#domain ⇒ String

Returns:

  • (String)

See Also:



148
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 148

def domain; self[:"domain"]&.value; end

#expiry ⇒ Integer

Returns:

  • (Integer)

See Also:



156
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 156

def expiry; self[:"expiry"]&.value; end

#negative ⇒ Integer

Returns:

  • (Integer)

See Also:



152
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 152

def negative; self[:"negative"]&.value; end

#seqno ⇒ Integer

Returns:

  • (Integer)

See Also:



136
# File 'nl-linux/generated/nl/linux/sunrpc_cache.rb', line 136

def seqno; self[:"seqno"]&.value; end