FD.io VPP  v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
VOM::inspect Class Reference

A means to inspect the state VPP has built, in total, and per-client. More...

Data Structures

class  command_handler
 inspect command handler Handler More...
 

Public Member Functions

 inspect ()=default
 Constructor. More...
 
 ~inspect ()=default
 Destructor to tidyup socket resources. More...
 
void handle_input (const std::string &input, std::ostream &output)
 handle input from the requester More...
 

Static Public Member Functions

static void register_handler (const std::vector< std::string > &cmds, const std::string &help, command_handler *ch)
 Register a command handler for inspection. More...
 

Detailed Description

A means to inspect the state VPP has built, in total, and per-client.

Definition at line 30 of file inspect.hpp.

Constructor & Destructor Documentation

◆ inspect()

VOM::inspect::inspect ( )
default

Constructor.

◆ ~inspect()

VOM::inspect::~inspect ( )
default

Destructor to tidyup socket resources.

Member Function Documentation

◆ handle_input()

void VOM::inspect::handle_input ( const std::string &  input,
std::ostream &  output 
)

handle input from the requester

Parameters
inputcommand
outputoutput

Definition at line 32 of file inspect.cpp.

+ Here is the call graph for this function:

◆ register_handler()

void VOM::inspect::register_handler ( const std::vector< std::string > &  cmds,
const std::string &  help,
command_handler ch 
)
static

Register a command handler for inspection.

Definition at line 85 of file inspect.cpp.

+ Here is the caller graph for this function:

The documentation for this class was generated from the following files: