29件ヒット
[1-29件を表示]
(0.039秒)
別のキーワード
種類
- インスタンスメソッド (23)
- 特異メソッド (6)
ライブラリ
-
rinda
/ tuplespace (11) - shell (6)
-
shell
/ system-command (12)
クラス
-
Rinda
:: TupleSpace (11) - Shell (6)
-
Shell
:: SystemCommand (12)
検索結果
先頭4件
-
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (18313.0) -
event で指定した種類のイベントの監視を開始します。
...ッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で無......数)
=== 例
require 'rinda/tuplespace'
tuplespace = Rinda::TupleSpace.new
observer = tuplespace.notify("write", ["xyz", nil, nil])
Therad.new do
observer.each{|event, tuple| p event, tuple }
end
tuplespace.write(["xyz", 0, 1])
tuplespace.write(["pqr", 0, 1])
tuplespace.... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (18309.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
. notify(*opts) {|message| . . . } -> String (18302.0) -
@todo
@todo -
Shell
:: SystemCommand # notify(*opts) -> String (18209.0) -
@todo
...@todo
@param opts
@see Shell#notify...