diff options
author | Frank Schmirler <vdr@schmirler.de> | 2010-12-02 08:56:19 +0100 |
---|---|---|
committer | Frank Schmirler <vdr@schmirler.de> | 2010-12-02 08:57:31 +0100 |
commit | e6249bf957a943920b11abbd9efac1efa18b1d00 (patch) | |
tree | 3cc549f4f35e3d0210f7e9dbabf68bf0e27770dc /server/connection.h | |
parent | 5e30711bfdb28085234a5ef6da4f4e44305ac3e4 (diff) | |
download | vdr-plugin-streamdev-e6249bf957a943920b11abbd9efac1efa18b1d00.tar.gz vdr-plugin-streamdev-e6249bf957a943920b11abbd9efac1efa18b1d00.tar.bz2 |
Snapshot 2007-04-03
Diffstat (limited to 'server/connection.h')
-rw-r--r-- | server/connection.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/server/connection.h b/server/connection.h index f68f84a..2df850e 100644 --- a/server/connection.h +++ b/server/connection.h @@ -1,5 +1,5 @@ /* - * $Id: connection.h,v 1.3 2005/05/09 20:22:29 lordjaxom Exp $ + * $Id: connection.h,v 1.4 2007/04/02 10:32:34 schmirl Exp $ */ #ifndef VDR_STREAMDEV_SERVER_CONNECTION_H @@ -69,6 +69,10 @@ public: the connection shall be closed and removed by the server */ virtual bool Read(void); + /* Is polled regularely by the server. Returns true if the connection + needs to be terminated. */ + virtual bool Abort(void) const = 0; + /* Will make the socket close after sending all queued output data */ void DeferClose(void) { m_DeferClose = true; } |