Class: Nl::Linux::TcpMetrics::AsyncOperations

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

Instance Method Summary collapse

Instance Method Details

#do_del(**args) ⇒ Nl::Async::Future<void>

Delete metrics.

Requires CAP_NET_ADMIN in the initial user namespace.

Parameters:

  • args (Hash)

Options Hash (**args):

  • addr_ipv4 (Integer)
  • addr_ipv6 (String)
  • saddr_ipv4 (Integer)
  • saddr_ipv6 (String)

Returns:

See Also:



583
584
585
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 583

def do_del(**args)
  @exchange.call(:"do", Messages::DoDelRequest, nil, args)
end

#do_get(**args) ⇒ Nl::Async::Future<Messages::DoGetReply>

Retrieve metrics.

Parameters:

  • args (Hash)

Options Hash (**args):

  • addr_ipv4 (Integer)
  • addr_ipv6 (String)
  • saddr_ipv4 (Integer)
  • saddr_ipv6 (String)

Returns:

See Also:



561
562
563
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 561

def do_get(**args)
  @exchange.call(:"do", Messages::DoGetRequest, Messages::DoGetReply, args)
end

#dump_get(**args) ⇒ Nl::Async::Stream<Messages::DumpGetReply>

Retrieve metrics.

Parameters:

  • args (Hash)

Returns:

See Also:



569
570
571
# File 'nl-linux/generated/nl/linux/tcp_metrics.rb', line 569

def dump_get(**args)
  @exchange.call(:"dump", Messages::DumpGetRequest, Messages::DumpGetReply, args)
end