GRPC C++  1.73.0
write_event.h
Go to the documentation of this file.
1 // Copyright 2022 gRPC authors.
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14 
15 #ifndef GRPC_EVENT_ENGINE_INTERNAL_WRITE_EVENT_H
16 #define GRPC_EVENT_ENGINE_INTERNAL_WRITE_EVENT_H
17 
19 
20 // Use of this enum via this name is internal to gRPC.
21 // API users should get this enumeration via the
22 // EventEngine::Endpoint::WriteEvent.
23 enum class WriteEvent {
24  kSendMsg,
25  kScheduled,
26  kSent,
27  kAcked,
28  kClosed,
29  kCount // Must be last.
30 };
31 
32 } // namespace grpc_event_engine::experimental::internal
33 
34 #endif // GRPC_EVENT_ENGINE_INTERNAL_WRITE_EVENT_H
grpc_event_engine::experimental::internal::WriteEvent
WriteEvent
Definition: write_event.h:23
grpc_event_engine::experimental::internal::WriteEvent::kSent
@ kSent
grpc_event_engine::experimental::internal::WriteEvent::kCount
@ kCount
grpc_event_engine::experimental::internal::WriteEvent::kSendMsg
@ kSendMsg
grpc_event_engine::experimental::internal::WriteEvent::kAcked
@ kAcked
grpc_event_engine::experimental::internal::WriteEvent::kClosed
@ kClosed
grpc_event_engine::experimental::internal::WriteEvent::kScheduled
@ kScheduled
grpc_event_engine::experimental::internal
Definition: memory_allocator_impl.h:29