FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
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::Connection & | ctx () |
Retrun the VAPI context the commands will use. More... | |
A representation of the connection to VPP.
Definition at line 33 of file connection.hpp.
VOM::connection::connection | ( | ) |
Constructor.
Definition at line 21 of file connection.cpp.
VOM::connection::~connection | ( | ) |
Destructor.
Definition at line 27 of file connection.cpp.
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.
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.