From 56b8ca62c666a1b747766a5ede70db070977ad37 Mon Sep 17 00:00:00 2001 From: Nicolas 'Pixel' Noble Date: Mon, 21 Jan 2013 00:53:12 -0800 Subject: ZStreams's close, read and write are now fully interruptible. Will need some testing though. --- includes/Handle.h | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/Handle.h') diff --git a/includes/Handle.h b/includes/Handle.h index 32a5975..091c59c 100644 --- a/includes/Handle.h +++ b/includes/Handle.h @@ -52,6 +52,7 @@ class Handle { virtual off_t wtell() throw (GeneralException); virtual off_t getSize(); virtual time_t getMTime(); + virtual bool isPendingComplete() { return true; } ssize_t forceRead(void * buf, size_t count, Events::BaseEvent * evt = NULL) throw (GeneralException); ssize_t forceWrite(const void * buf, size_t count, Events::BaseEvent * evt = NULL) throw (GeneralException); ssize_t write(const String & str) { return write(str.to_charp(), str.strlen()); } -- cgit v1.2.3