event/SocketEvent: add method GetReadyFlags()

This commit is contained in:
Max Kellermann 2023-02-09 15:55:21 +01:00 committed by Max Kellermann
parent cf01db4d08
commit 3e2bff296f

View File

@ -110,6 +110,10 @@ public:
return scheduled_flags;
}
unsigned GetReadyFlags() const noexcept {
return ready_flags;
}
void SetReadyFlags(unsigned flags) noexcept {
ready_flags = flags;
}