|
VLink 2.0.0
A high-performance communication middleware
|
Opaque handle for a Server node.
More...
#include <c_api.h>
Public Attributes | |
| void * | native_handle |
| void * | reserved [4] |
Opaque handle for a Server node.
Created by vlink_create_server() and destroyed by vlink_destroy_server(). native_handle points to a heap-allocated vlink::Server<vlink::Bytes, vlink::Bytes> object. The reserved array is used internally to coordinate the synchronous request-reply flow:
reserved[0]: pointer to a std::mutex (lock held during callback).reserved[1]: pointer to the response byte buffer.reserved[2]: response byte count (stored as a pointer-sized integer).reserved[3]: non-null while a request is being processed (cleared by vlink_reply()). | void* vlink_server_handle_t::native_handle |
Internal C++ Server object pointer.
| void* vlink_server_handle_t::reserved[4] |
Internal coordination fields; do not modify.