Skip to content
Sections
>> Trisquel >> パッケージ >> nabia >> ruby >> ruby-nio4r
etiona  ] [  nabia  ] [  aramo  ]
[ ソース: ruby-nio4r  ]

パッケージ: ruby-nio4r (2.3.1-1build1)

Ruby library providing a selector API for monitoring IO objects

nio4r (New IO for Ruby) provides an abstract, cross-platform stateful I/O selector API for Ruby. I/O selectors are the heart of "reactor"-based event loops, and monitor multiple I/O objects for various types of readiness, e.g. ready for reading or writing.

The most similar API provided by Ruby today is Kernel.select, however the select API requires you to pass in arrays of all of the I/O objects you're interested in every time. nio4r provides a more object-oriented API that lets you register I/O objects with a selector then handle them when they're selected for various types of events.

nio4r is modeled after the Java NIO API, but simplified for ease-of-use.

Its goals are:

 * Expose high-level interfaces for stateful IO selectors.
 * Keep the API small to maximize both portability and performance across
   many different OSes and Ruby VMs.
 * Provide inherently thread-safe facilities for working with IO objects.

その他の ruby-nio4r 関連パッケージ

  • 依存
  • 推奨
  • 提案
  • dep: libc6 (>= 2.17) [amd64]
    GNU C Library: Shared libraries
    以下のパッケージによって提供される仮想パッケージでもあります: libc6-udeb
    dep: libc6 (>= 2.28) [armhf]
  • dep: libruby2.7 (>= 2.7.0-4) [amd64]
    Libraries necessary to run Ruby 2.7
    dep: libruby2.7 (>= 2.7.0~preview2) [armhf]
  • dep: ruby (<< 1:2.8~)
    Interpreter of object-oriented scripting language Ruby (default version)
    dep: ruby (>= 1:2.7~0)

ruby-nio4r のダウンロード

すべての利用可能アーキテクチャ向けのダウンロード
アーキテクチャ パッケージサイズ インストールサイズ ファイル
amd64 39.8 kB130 kB [ファイル一覧]
armhf 34.9 kB97 kB [ファイル一覧]