|
GRPC C++
1.76.0
|
– EXPERIMENTAL API – Interface for used for Server Endpoint injection. More...
#include <passive_listener.h>
Public Member Functions | |
| virtual | ~PassiveListener ()=default |
| virtual absl::Status | AcceptConnectedEndpoint (std::unique_ptr< grpc_event_engine::experimental::EventEngine::Endpoint > endpoint)=0 |
| – EXPERIMENTAL API – More... | |
| virtual absl::Status | AcceptConnectedFd (int fd)=0 |
| – EXPERIMENTAL API – More... | |
– EXPERIMENTAL API – Interface for used for Server Endpoint injection.
|
virtualdefault |
|
pure virtual |
– EXPERIMENTAL API –
Takes an Endpoint for an established connection, and treats it as if the connection had been accepted by the server.
The server must be started before endpoints can be accepted.
|
pure virtual |
– EXPERIMENTAL API –
Takes a connected file descriptor, and treats it as if the server had accepted the connection itself.
Returns a failure status if the server's active EventEngine does not support Endpoint creation from fds.
1.8.17