From 54e62a566c003363078aa5273a728c0a0657b3a0 Mon Sep 17 00:00:00 2001 From: Pixel Date: Sat, 27 Oct 2001 11:15:57 +0000 Subject: Reworking on it... --- include/Handle.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include/Handle.h') diff --git a/include/Handle.h b/include/Handle.h index cec51c7..0044fa6 100644 --- a/include/Handle.h +++ b/include/Handle.h @@ -31,6 +31,8 @@ class Handle : public Base { ssize_t read(void *buf, size_t count) throw (IOException); ssize_t write(const void *buf, size_t count) throw (IOException); bool IsClosed(void); + bool IsNonBlock(void); + void SetNonBlock(void); virtual bool CanRead() = 0; virtual bool CanWrite() = 0; virtual String GetName() = 0; @@ -39,7 +41,7 @@ class Handle : public Base { int GetHandle(); private: int h; - bool closed; + bool closed, nonblock; }; Handle & operator<<(Handle &, const String &); -- cgit v1.2.3