|
DCL 4.1
|
#include <Socket.h>
Protected Member Functions | |
| virtual bool | onEvent (short _revents, PollThread *_pPollThread) __DCL_THROWS1(IOException *) |
| Protected Member Functions inherited from File | |
| File () | |
| File (HandleType _handle, const String &_path) | |
| Protected Member Functions inherited from Object | |
| virtual | ~Object () |
| Object () | |
Additional Inherited Members | |
| Public Types inherited from File | |
| enum | Whence { BEGIN , CURRENT , END } |
| Public Member Functions inherited from File | |
| virtual String | toString () const |
| virtual | ~File () |
| File (const String &_path, int _oflags=READONLY, int _mode=0666) __DCL_THROWS1(IOException *) | |
| void | open (const String &_path, int _oflags=READONLY, int _mode=0666) __DCL_THROWS1(IOException *) |
| File (HandleType _handle, int _ohints, bool _closeOnClose) __DCL_THROWS1(IOException *) | |
| void | open (HandleType _handle, int _ohints, bool _closeOnClose) __DCL_THROWS1(IOException *) |
| virtual void | sync () __DCL_THROWS1(IOException *) |
| off_t | seek (off_t _offset, int _whence) __DCL_THROWS1(IOException *) |
| off_t | size () const __DCL_THROWS1(IOException *) |
| DateTime | mtime () const __DCL_THROWS1(IOException *) |
| bool | time (time_t *_atime, time_t *_mtime, time_t *_ctime) const |
| HandleType | handle () const |
| const String & | path () const |
| Public Member Functions inherited from Object | |
| virtual void | destroy () |
| String | className () const |
| bool | isInstanceOf (const std::type_info &typeinfo) const |
| virtual const std::type_info & | typeInfo () const |
| Static Public Member Functions inherited from File | |
| static File * | openTempFile (const String &_dirname, const String &_prefix, unsigned int _mode=0666) __DCL_THROWS1(IOException *) |
| Protected Attributes inherited from File | |
| String | __path |
| HandleType | __handle |
| bool | __closeOnClose |
소켓에 대한 파일 인터페이스와 Non-Blocking 입출력을 제공한다.
|
protectedvirtual |
Blocking IO를 하는 소켓 인스턴스를 위해 포함한다.
만약 Non-Blocking IO를 위해서는 이것을 override하여야 한다.
Implements PollAble.
Definition at line 591 of file Socket.cpp.