yumapro
24.10-3
YumaPro SDK
|
YumaPro gRPC implementation integrated into the server. More...
Functions | |
status_t | agt_ypgrpc_init (void) |
Initialize the YP-GRPC subsysystem handler. More... | |
void | agt_ypgrpc_cleanup (void) |
Cleanup the YP-GRPC Module. More... | |
status_t | agt_ypgrpc_delete_server (const xmlChar *name) |
Delete an existing server entry. More... | |
status_t | agt_ypgrpc_delete_streams (const xmlChar *name) |
Delete server and client streams associated with this gRPC server. More... | |
agt_ypgrpc_server_t * | agt_ypgrpc_get_first_server (void) |
Get the first server entry in serverQ. More... | |
agt_ypgrpc_server_t * | agt_ypgrpc_get_next_server (const agt_ypgrpc_server_t *server_entry) |
Get the next serverentry in serverQ. More... | |
agt_ypgrpc_server_t * | agt_ypgrpc_get_server (const xmlChar *name) |
Get a specific gRPC server by name. More... | |
agt_ypgrpc_stream_t * | agt_ypgrpc_get_first_stream (void) |
Get the first server or client stream entry in streamQ. More... | |
agt_ypgrpc_stream_t * | agt_ypgrpc_get_next_stream (const agt_ypgrpc_stream_t *entry) |
Get the next server or client entry in streamQ. More... | |
boolean | agt_ypgrpc_has_server_stream (void) |
Check if there are any Server streams available. More... | |
boolean | agt_ypgrpc_has_client_stream (void) |
Check if there are any client streams available. More... | |
agt_ypgrpc_stats_t * | agt_ypgrpc_get_total_stats (void) |
Get a r/w pointer to the the totals stats. More... | |
status_t | agt_ypgrpc_state_init (void) |
Phase 1: Initialize the yumaworks-grpc-mon server instrumentation library. More... | |
void | agt_ypgrpc_state_cleanup (void) |
Cleanup the yumaworks-grpc-mon server instrumentation library. More... | |
YumaPro gRPC implementation integrated into the server.
YumaPro gRPC Monitoring implementation.
The server communicates with a GO subsystem that implements gRPC
YANG instrumentation library. Generated by yangdump-sdk.
void agt_ypgrpc_cleanup | ( | void | ) |
Cleanup the YP-GRPC Module.
Only present if WITH_GRPC=1
status_t agt_ypgrpc_delete_server | ( | const xmlChar * | name | ) |
Delete an existing server entry.
name | name of entry to modify |
status_t agt_ypgrpc_delete_streams | ( | const xmlChar * | name | ) |
Delete server and client streams associated with this gRPC server.
name | of gRPC server entry to use |
agt_ypgrpc_server_t * agt_ypgrpc_get_first_server | ( | void | ) |
Get the first server entry in serverQ.
agt_ypgrpc_stream_t * agt_ypgrpc_get_first_stream | ( | void | ) |
Get the first server or client stream entry in streamQ.
agt_ypgrpc_server_t * agt_ypgrpc_get_next_server | ( | const agt_ypgrpc_server_t * | server_entry | ) |
Get the next serverentry in serverQ.
server_entry | server entry |
agt_ypgrpc_stream_t * agt_ypgrpc_get_next_stream | ( | const agt_ypgrpc_stream_t * | entry | ) |
Get the next server or client entry in streamQ.
entry | server or client stream entry |
agt_ypgrpc_server_t * agt_ypgrpc_get_server | ( | const xmlChar * | name | ) |
Get a specific gRPC server by name.
name | name of entry to modify |
agt_ypgrpc_stats_t * agt_ypgrpc_get_total_stats | ( | void | ) |
Get a r/w pointer to the the totals stats.
boolean agt_ypgrpc_has_client_stream | ( | void | ) |
Check if there are any client streams available.
Let the grpc-state callback to decide if it needs to star AIO processing or can just skip callback since there is no any streams available
boolean agt_ypgrpc_has_server_stream | ( | void | ) |
Check if there are any Server streams available.
Let the grpc-state callback to decide if it needs to star AIO processing or can just skip callback since there is no any streams available
status_t agt_ypgrpc_init | ( | void | ) |
Initialize the YP-GRPC subsysystem handler.
Only present if WITH_GRPC=1
void agt_ypgrpc_state_cleanup | ( | void | ) |
Cleanup the yumaworks-grpc-mon server instrumentation library.
Called by server when module is unloaded.
status_t agt_ypgrpc_state_init | ( | void | ) |
Phase 1: Initialize the yumaworks-grpc-mon server instrumentation library.
Called by server when module is loaded.