(nmosh io io-objects) : I/O objects abstraction layer

In nmosh AIO, I/O objects means source of I/O events. Current(0.2.8) nmosh defines:

Internally, there is more detailed subclasses for I/O objects. These are OS / Kernel dependent.


I/O objects have to be "realize"d before its use. "Realize" means file open for file redirection, opening TCP connection for TCP stream and so on.

Realization will occur on-demand basis(i.e. deferred). This means you MAY NOT get errors immediately.

Active and Passive output


Active output

(stream-active-output) => handle callback




Stream Constructors


(stream-input obj CALLBACK)

(stream-output obj CALLBACK)

(stream-inout obj CALLBACK/in out)


Note that there is no "file-inout" procedure.

(file-input FILE)

(file-output FILE)

Low-level (backend)

(nmosh io io-objects posix): POSIX-fd constructors

(nmosh io io-objects win32): Win32 Constructors

(handle int)

(handle-value h)

(handle-output h)

(handle-input h)


now: 6


2019-11-24 2019-07-30 2019-06-20 2019-06-19 2019-03-24 2018-10-07 2018-09-20 2017-09-29 2017-01-10 2016-12-11 2016-10-04 2016-08-14 2016-05-29 2015-12-28 2013-02-25 2013-02-21 2013-02-20
2010-02-01 2010-01-31 2010-01-30 2010-01-29 2010-01-16

Counter: 1430, today: 1, yesterday: 0

リロード   新規 編集 凍結 差分 添付 複製 改名   トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS

Last-modified: 2011-10-15 (土) 19:40:27 (3049d);  Modified by mona
PukiWiki 1.4.6 Copyright © 2001-2005 PukiWiki Developers Team. License is GPL.
Based on "PukiWiki" 1.3 by yu-ji
Powered by PHP 5.2.17
HTML convert time to 0.048 sec.