42件ヒット
[1-42件を表示]
(0.101秒)
ライブラリ
-
rinda
/ rinda (12) -
rinda
/ tuplespace (12) -
shell
/ command-processor (6) -
shell
/ system-command (12)
クラス
-
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) -
Shell
:: CommandProcessor (6) -
Shell
:: SystemCommand (12)
検索結果
先頭5件
- Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry - Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry - Shell
:: SystemCommand # notify(*opts) -> String - Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String - Shell
:: CommandProcessor # notify(*opts) { . . . } -> ()
-
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (21314.0) -
event で指定した種類のイベントの監視を開始します。
...種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対... -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (21308.0) -
event で指定した種類のイベントの監視を開始します。
...マッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で......す。
event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'delete' : タプルが有効期限切れや上書きされたなどでタプルスペースから削除された
これで指定したイベントに......ては lib:rinda/rinda#tuplepattern を
参照してください。
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数)
=== 例
require 'rinda/tuplespace'
tuplespace = Rinda::TupleSpace.new... -
Shell
:: SystemCommand # notify(*opts) -> String (21109.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (21109.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (21102.0) -
@todo
...@todo...