FD.io VPP  v18.07.1-19-g511ce25
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

VOM::connection::connection ( )

Constructor.

Definition at line 21 of file connection.cpp.

VOM::connection::~connection ( )

Destructor.

Definition at line 27 of file connection.cpp.

Member Function Documentation

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:

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

Retrun the VAPI context the commands will use.

Definition at line 49 of file connection.cpp.

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: