#include <server_callback.h>
◆ ServerSessionReactor()
| grpc::experimental::ServerSessionReactor::ServerSessionReactor |
( |
| ) |
|
|
inline |
◆ ~ServerSessionReactor()
| grpc::experimental::ServerSessionReactor::~ServerSessionReactor |
( |
| ) |
|
|
overridedefault |
◆ Finish()
| void grpc::experimental::ServerSessionReactor::Finish |
( |
grpc::Status |
s | ) |
|
|
inline |
Finish is similar to ServerBidiReactor except for one detail.
If the status is non-OK, any message will not be sent. Instead, the client will only receive the status and any trailing metadata.
◆ InitiateGracefulShutdown()
| void grpc::experimental::ServerSessionReactor::InitiateGracefulShutdown |
( |
absl::AnyInvocable< void(absl::Status)> |
on_shutdown | ) |
|
|
inline |
Initiate a graceful shutdown of a SESSION_RPC.
This will send a GOAWAY frame to the client, telling it to finish active virtual RPCs on this session and stop opening new ones. The provided callback will be invoked with the final status of the inner transport when it completely shuts down (drains).
◆ OnCancel()
| void grpc::experimental::ServerSessionReactor::OnCancel |
( |
| ) |
|
|
inlineoverridevirtual |
◆ OnDone()
| void grpc::experimental::ServerSessionReactor::OnDone |
( |
| ) |
|
|
overridepure virtual |
◆ OnSendInitialMetadataDone()
| virtual void grpc::experimental::ServerSessionReactor::OnSendInitialMetadataDone |
( |
bool |
| ) |
|
|
inlinevirtual |
◆ StartVirtualRPCs()
| void grpc::experimental::ServerSessionReactor::StartVirtualRPCs |
( |
| ) |
|
|
inline |
◆ ServerCallbackSession
The documentation for this class was generated from the following file: