![]() |
FD.io VPP
v18.01.1-37-g7ea3975
Vector Packet Processing
|
Class representing a connection to VPP. More...
Public Member Functions | |
| Connection (void) | |
| Connection (const Connection &)=delete | |
| ~Connection (void) | |
| bool | is_msg_available (vapi_msg_id_t type) |
| check if message identified by it's message id is known by the vpp to which the connection is open More... | |
| vapi_error_e | connect (const char *name, const char *chroot_prefix, int max_outstanding_requests, int response_queue_size) |
| connect to vpp More... | |
| vapi_error_e | disconnect () |
| disconnect from vpp More... | |
| vapi_error_e | get_fd (int *fd) |
| get event file descriptor More... | |
| vapi_error_e | dispatch (const Common_req *limit=nullptr) |
| wait for responses from vpp and assign them to appropriate objects More... | |
| vapi_error_e | dispatch (const Common_req &limit) |
| convenience wrapper function More... | |
| vapi_error_e | wait_for_response (const Common_req &req) |
| wait for response to a specific request More... | |
Friends | |
| template<typename Req , typename Resp , typename... Args> | |
| class | Request |
| template<typename Req , typename Resp , typename... Args> | |
| class | Dump |
| template<typename M > | |
| class | Result_set |
| template<typename M > | |
| class | Event_registration |
| template<typename M > | |
| class | Msg |
| template<typename M , typename... Args> | |
| M * | vapi_alloc (Connection &con, Args...) |
Class representing a connection to VPP.
After creating a Connection object, call connect() to actually connect to VPP. Use is_msg_available to discover whether a specific message is known and supported by the VPP connected to.
|
inline |
|
delete |
|
inline |
|
inline |
|
inline |
|
inline |
wait for responses from vpp and assign them to appropriate objects
| limit | stop dispatch after the limit object received it's response |
Definition at line 248 of file vapi.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |