GRPC C++
1.39.1
|
#include <grpc/support/port_platform.h>
#include "src/core/tsi/alts/handshaker/alts_shared_resource.h"
#include <grpc/support/log.h>
#include "src/core/tsi/alts/handshaker/alts_handshaker_client.h"
Functions | |
alts_shared_resource_dedicated * | grpc_alts_get_shared_resource_dedicated (void) |
void | grpc_alts_shared_resource_dedicated_init () |
This method initializes the alts_shared_resource_dedicated object shared by all TSI handshakes. More... | |
void | grpc_alts_shared_resource_dedicated_start (const char *handshaker_service_url) |
This method populates various fields of the alts_shared_resource_dedicated object shared by all TSI handshakes and start the dedicated thread. More... | |
void | grpc_alts_shared_resource_dedicated_shutdown () |
This method destroys the alts_shared_resource_dedicated object shared by all TSI handshakes. More... | |
alts_shared_resource_dedicated* grpc_alts_get_shared_resource_dedicated | ( | void | ) |
void grpc_alts_shared_resource_dedicated_init | ( | ) |
This method initializes the alts_shared_resource_dedicated object shared by all TSI handshakes.
The application is responsible for invoking the API after calling grpc_init();
void grpc_alts_shared_resource_dedicated_shutdown | ( | ) |
This method destroys the alts_shared_resource_dedicated object shared by all TSI handshakes.
The application is responsible for invoking the API before calling grpc_shutdown().
void grpc_alts_shared_resource_dedicated_start | ( | const char * | handshaker_service_url | ) |
This method populates various fields of the alts_shared_resource_dedicated object shared by all TSI handshakes and start the dedicated thread.
The API will be invoked by the caller in a lazy manner. That is, it will get invoked when ALTS TSI handshake occurs for the first time.