| 33 | typedef const char* EventType; |
| 34 | |
| 35 | struct Event { |
| 36 | Event(EventType type, uint32_t connectionId, uint32_t callId, const std::string& message) |
| 37 | : type(type), connectionId(connectionId), callId(callId), message(message) {} |
| 38 | |
| 39 | EventType type; |
| 40 | uint32_t connectionId; |
| 41 | uint32_t callId; |
| 42 | std::string message; |
| 43 | }; |
| 44 | |
| 45 | class EventLog { |
| 46 | public: |
no outgoing calls