An EventEngine Listener listens for incoming connection requests from gRPC clients and initiates request processing once connections are established.
More...
#include <event_engine.h>
An EventEngine Listener listens for incoming connection requests from gRPC clients and initiates request processing once connections are established.
◆ AcceptCallback
Called when the listener has accepted a new client connection.
◆ ~Listener()
virtual grpc_event_engine::experimental::EventEngine::Listener::~Listener |
( |
| ) |
|
|
virtualdefault |
◆ Bind()
virtual absl::StatusOr<int> grpc_event_engine::experimental::EventEngine::Listener::Bind |
( |
const ResolvedAddress & |
addr | ) |
|
|
pure virtual |
Bind an address/port to this Listener.
It is expected that multiple addresses/ports can be bound to this Listener before Listener::Start has been called. Returns either the bound port or an appropriate error status.
◆ Start()
virtual absl::Status grpc_event_engine::experimental::EventEngine::Listener::Start |
( |
| ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: