GRPC Core  43.0.0
Data Structures | Namespaces | Functions
event_engine.h File Reference
#include <vector>
#include "absl/functional/any_invocable.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include <grpc/event_engine/endpoint_config.h>
#include <grpc/event_engine/extensible.h>
#include <grpc/event_engine/memory_allocator.h>
#include <grpc/event_engine/port.h>
#include <grpc/event_engine/slice_buffer.h>
#include <grpc/support/port_platform.h>

Go to the source code of this file.

Data Structures

class  grpc_event_engine::experimental::EventEngine
 The EventEngine Interface. More...
 
class  grpc_event_engine::experimental::EventEngine::Closure
 A custom closure type for EventEngine task execution. More...
 
struct  grpc_event_engine::experimental::EventEngine::TaskHandle
 Represents a scheduled task. More...
 
struct  grpc_event_engine::experimental::EventEngine::ConnectionHandle
 A handle to a cancellable connection attempt. More...
 
class  grpc_event_engine::experimental::EventEngine::ResolvedAddress
 Thin wrapper around a platform-specific sockaddr type. More...
 
class  grpc_event_engine::experimental::EventEngine::Endpoint
 One end of a connection between a gRPC client and server. More...
 
struct  grpc_event_engine::experimental::EventEngine::Endpoint::ReadArgs
 A struct representing optional arguments that may be provided to an EventEngine Endpoint Read API call. More...
 
struct  grpc_event_engine::experimental::EventEngine::Endpoint::WriteArgs
 A struct representing optional arguments that may be provided to an EventEngine Endpoint Write API call. More...
 
class  grpc_event_engine::experimental::EventEngine::Listener
 Listens for incoming connection requests from gRPC clients and initiates request processing once connections are established. More...
 
class  grpc_event_engine::experimental::EventEngine::DNSResolver
 Provides asynchronous resolution. More...
 
struct  grpc_event_engine::experimental::EventEngine::DNSResolver::ResolverOptions
 Optional configuration for DNSResolvers. More...
 
struct  grpc_event_engine::experimental::EventEngine::DNSResolver::SRVRecord
 DNS SRV record type. More...
 

Namespaces

 grpc_event_engine
 
 grpc_event_engine::experimental
 
 grpc_event_engine::experimental::detail
 

Functions

void grpc_event_engine::experimental::SetEventEngineFactory (absl::AnyInvocable< std::unique_ptr< EventEngine >()> factory)
 Replace gRPC's default EventEngine factory. More...
 
void grpc_event_engine::experimental::EventEngineFactoryReset ()
 Reset gRPC's EventEngine factory to the built-in default. More...
 
std::unique_ptr< EventEngine > grpc_event_engine::experimental::CreateEventEngine ()
 Create an EventEngine using the default factory. More...
 
bool grpc_event_engine::experimental::operator== (const EventEngine::TaskHandle &lhs, const EventEngine::TaskHandle &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::TaskHandle &handle)
 
bool grpc_event_engine::experimental::operator== (const EventEngine::ConnectionHandle &lhs, const EventEngine::ConnectionHandle &rhs)
 
bool grpc_event_engine::experimental::operator!= (const EventEngine::ConnectionHandle &lhs, const EventEngine::ConnectionHandle &rhs)
 
std::ostream & grpc_event_engine::experimental::operator<< (std::ostream &out, const EventEngine::ConnectionHandle &handle)
 
std::string grpc_event_engine::experimental::detail::FormatHandleString (uint64_t key1, uint64_t key2)
 
template<typename Sink >
void grpc_event_engine::experimental::AbslStringify (Sink &out, const EventEngine::ConnectionHandle &handle)
 
template<typename Sink >
void grpc_event_engine::experimental::AbslStringify (Sink &out, const EventEngine::TaskHandle &handle)