proxygen
Events.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 #pragma once
10 
11 #include <folly/Range.h>
12 
13 namespace fizz {
14 
15 enum class Event {
25  Finished,
27  KeyUpdate,
28  Alert,
29  Accept,
30  Connect,
31  AppData,
33  AppWrite,
34  AppClose,
37 };
38 
39 template <Event e>
40 struct EventType {
41  static constexpr Event event = e;
42 };
43 
45 } // namespace fizz
folly::StringPiece toString(StateEnum state)
Definition: State.cpp:16
Definition: Actions.h:16
Event
Definition: Events.h:15