From: Christian P. <cp...@us...> - 2005-01-03 13:50:54
|
Update of /cvsroot/pclasses/pclasses2/include/pclasses/Net In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19210/include/pclasses/Net Modified Files: Socket.h Log Message: Added IOFilter support to IODevice. Updated classes that inherit from IODevice. Fixed some minor bugs in ProcessIO class. Index: Socket.h =================================================================== RCS file: /cvsroot/pclasses/pclasses2/include/pclasses/Net/Socket.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- Socket.h 23 Dec 2004 04:32:16 -0000 1.2 +++ Socket.h 3 Jan 2005 13:50:44 -0000 1.3 @@ -62,14 +62,6 @@ int protocol() const throw(); - void close() throw(LogicError, IO::IOError); - - size_t read(char* buffer, size_t count) throw(IO::IOError); - - size_t peek(char* buffer, size_t count) throw(IO::IOError); - - size_t write(const char* buffer, size_t count) throw(IO::IOError); - int wait(int wait, unsigned int timeout) throw(IO::IOError); //! Bind socket to given address and port @@ -95,6 +87,14 @@ void open(Domain domain, Type type, int proto) throw(LogicError, IO::IOError); + void _close() throw(IO::IOError); + + size_t _read(char* buffer, size_t count) throw(IO::IOError); + + size_t _peek(char* buffer, size_t count) throw(IO::IOError); + + size_t _write(const char* buffer, size_t count) throw(IO::IOError); + int handle() const throw(); void addListener(IO::IOListener& l); |