FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
VOM::connection Class Reference

A representation of the connection to VPP. More...

Public Member Functions

 connection ()
 Constructor. More...
 
 ~connection ()
 Destructor. More...
 
int connect ()
 Blocking [re]connect call - always eventually succeeds, or the universe expires. More...
 
void disconnect ()
 Blocking disconnect. More...
 
vapi::Connectionctx ()
 Retrun the VAPI context the commands will use. More...
 

Detailed Description

A representation of the connection to VPP.

Definition at line 33 of file connection.hpp.

Constructor & Destructor Documentation

◆ connection()

VOM::connection::connection ( )

Constructor.

Definition at line 21 of file connection.cpp.

◆ ~connection()

VOM::connection::~connection ( )

Destructor.

Definition at line 27 of file connection.cpp.

Member Function Documentation

◆ connect()

int VOM::connection::connect ( )

Blocking [re]connect call - always eventually succeeds, or the universe expires.

Not much this system can do without one.

Definition at line 38 of file connection.cpp.

+ Here is the caller graph for this function:

◆ ctx()

vapi::Connection & VOM::connection::ctx ( )

Retrun the VAPI context the commands will use.

Definition at line 49 of file connection.cpp.

◆ disconnect()

void VOM::connection::disconnect ( )

Blocking disconnect.

Definition at line 32 of file connection.cpp.

+ Here is the caller graph for this function:

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