diff options
| author | 2019-07-21 16:56:55 +0100 | |
|---|---|---|
| committer | 2019-07-21 16:57:19 +0100 | |
| commit | 5f387071d339892ebed5accba92f91f997396476 (patch) | |
| tree | c91e7f11859dc267b8c2b946f159abe28d558038 /include/socketengine.h | |
| parent | Extract history sending logic in chanhistory to its own function. (diff) | |
Add a method for swapping user I/O handlers.
Diffstat (limited to 'include/socketengine.h')
| -rw-r--r-- | include/socketengine.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/socketengine.h b/include/socketengine.h index d8d127f8b..9202c179d 100644 --- a/include/socketengine.h +++ b/include/socketengine.h @@ -164,6 +164,12 @@ class CoreExport EventHandler : public classbase * registered with the SocketEngine */ int fd; + + /** Swaps the internals of this EventHandler with another one. + * @param other A EventHandler to swap internals with. + */ + void SwapInternals(EventHandler& other); + public: /** Get the current file descriptor * @return The file descriptor of this handler |
