diff options
author | Max Kellermann <max@duempel.org> | 2013-11-06 18:20:51 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-11-06 19:05:45 +0100 |
commit | 154bdf0bca49f36f6ff8bc7f001634735ceb0b73 (patch) | |
tree | c9532d8726d34c12f2fb060873d8aef5ceb91e2b /src/event/SocketMonitor.hxx | |
parent | ed436c6f0c5d3c3d8d4b89ffc74655c7b872f0c0 (diff) | |
download | mpd-154bdf0bca49f36f6ff8bc7f001634735ceb0b73.tar.gz mpd-154bdf0bca49f36f6ff8bc7f001634735ceb0b73.tar.xz mpd-154bdf0bca49f36f6ff8bc7f001634735ceb0b73.zip |
event/SocketMonitor: add method Abandon()
Diffstat (limited to '')
-rw-r--r-- | src/event/SocketMonitor.hxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/event/SocketMonitor.hxx b/src/event/SocketMonitor.hxx index d6efeac17..5369ddb8a 100644 --- a/src/event/SocketMonitor.hxx +++ b/src/event/SocketMonitor.hxx @@ -118,6 +118,11 @@ public: */ int Steal(); + /** + * Somebody has closed the socket. Unregister this object. + */ + void Abandon(); + void Close(); unsigned GetScheduledFlags() const { |