GRPC C++
1.66.0
|
Namespaces | |
detail | |
internal | |
slice_detail | |
Data Structures | |
class | EndpointConfig |
Collection of parameters used to configure client and server endpoints. More... | |
class | EventEngine |
The EventEngine Interface. More... | |
class | Extensible |
class | MemoryAllocator |
class | MemoryAllocatorFactory |
class | MemoryRequest |
Reservation request - how much memory do we want to allocate? More... | |
class | MutableSlice |
class | Slice |
class | SliceBuffer |
A Wrapper around grpc_slice_buffer pointer. More... | |
class | Vector |
Functions | |
void | SetEventEngineFactory (absl::AnyInvocable< std::unique_ptr< EventEngine >()> factory) |
Replace gRPC's default EventEngine factory. More... | |
void | EventEngineFactoryReset () |
Reset gRPC's EventEngine factory to the built-in default. More... | |
std::unique_ptr< EventEngine > | CreateEventEngine () |
Create an EventEngine using the default factory. More... | |
bool | operator== (const EventEngine::TaskHandle &lhs, const EventEngine::TaskHandle &rhs) |
bool | operator!= (const EventEngine::TaskHandle &lhs, const EventEngine::TaskHandle &rhs) |
std::ostream & | operator<< (std::ostream &out, const EventEngine::TaskHandle &handle) |
bool | operator== (const EventEngine::ConnectionHandle &lhs, const EventEngine::ConnectionHandle &rhs) |
bool | operator!= (const EventEngine::ConnectionHandle &lhs, const EventEngine::ConnectionHandle &rhs) |
std::ostream & | operator<< (std::ostream &out, const EventEngine::ConnectionHandle &handle) |
template<typename Sink > | |
void | AbslStringify (Sink &out, const EventEngine::ConnectionHandle &handle) |
template<typename Sink > | |
void | AbslStringify (Sink &out, const EventEngine::TaskHandle &handle) |
void grpc_event_engine::experimental::AbslStringify | ( | Sink & | out, |
const EventEngine::ConnectionHandle & | handle | ||
) |
void grpc_event_engine::experimental::AbslStringify | ( | Sink & | out, |
const EventEngine::TaskHandle & | handle | ||
) |
std::unique_ptr<EventEngine> grpc_event_engine::experimental::CreateEventEngine | ( | ) |
Create an EventEngine using the default factory.
void grpc_event_engine::experimental::EventEngineFactoryReset | ( | ) |
Reset gRPC's EventEngine factory to the built-in default.
Applications that have called SetEventEngineFactory can remove their custom factory using this method. The built-in EventEngine factories will be used going forward. This has no affect on any EventEngines that were created using the previous factories.
bool grpc_event_engine::experimental::operator!= | ( | const EventEngine::ConnectionHandle & | lhs, |
const EventEngine::ConnectionHandle & | rhs | ||
) |
bool grpc_event_engine::experimental::operator!= | ( | const EventEngine::TaskHandle & | lhs, |
const EventEngine::TaskHandle & | rhs | ||
) |
std::ostream& grpc_event_engine::experimental::operator<< | ( | std::ostream & | out, |
const EventEngine::ConnectionHandle & | handle | ||
) |
std::ostream& grpc_event_engine::experimental::operator<< | ( | std::ostream & | out, |
const EventEngine::TaskHandle & | handle | ||
) |
bool grpc_event_engine::experimental::operator== | ( | const EventEngine::ConnectionHandle & | lhs, |
const EventEngine::ConnectionHandle & | rhs | ||
) |
bool grpc_event_engine::experimental::operator== | ( | const EventEngine::TaskHandle & | lhs, |
const EventEngine::TaskHandle & | rhs | ||
) |
void grpc_event_engine::experimental::SetEventEngineFactory | ( | absl::AnyInvocable< std::unique_ptr< EventEngine >()> | factory | ) |
Replace gRPC's default EventEngine factory.
Applications may call SetEventEngineFactory at any time to replace the default factory used within gRPC. EventEngines will be created when necessary, when they are otherwise not provided by the application.
To be certain that none of the gRPC-provided built-in EventEngines are created, applications must set a custom EventEngine factory method before grpc is initialized.