78件ヒット
[1-78件を表示]
(0.140秒)
ライブラリ
- observer (12)
- openssl (12)
-
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (12)
クラス
-
OpenSSL
:: SSL :: SSLSocket (12) -
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (12)
モジュール
- Observable (12)
キーワード
-
notify
_ observers (12) - sysclose (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
# notify(*opts) { . . . } -> ()
-
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (24414.0) -
event で指定した種類のイベントの監視を開始します。
...event で指定した種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@para......m pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数)... -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (24408.0) -
event で指定した種類のイベントの監視を開始します。
...t で指定した種類のイベントの監視を開始します。
イベントを生じさせたタプルがpattern にマッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::Notify......TemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で無限に監視し続けます。
event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'd......elete' : タプルが有効期限切れや上書きされたなどでタプルスペースから削除された
これで指定したイベントに加えて、
有効期限切れによって監視が終了した場合には 'close' イベントが報告されます。
pattern で指定できるパ... -
Shell
:: SystemCommand # notify(*opts) -> String (24209.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (24209.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
# notify(*opts) { . . . } -> () (24202.0) -
@todo
...@todo... -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (24202.0) -
@todo
...@todo... -
Shell
:: Filter # notify(*opts) { . . . } -> () (24202.0) -
@todo
...@todo... -
Observable
# notify _ observers(*arg) -> nil (12202.0) -
オブザーバへ更新を通知します。
...ザーバの update メソッドを順次呼び出します。
与えられた引数はその update メソッドに渡されます。
与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合は
例外ArgumentErrorを発生しま......す。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。
@raise ArgumentError 与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合に発生します。... -
OpenSSL
:: SSL :: SSLSocket # sysclose -> nil (3017.0) -
接続を閉じます。相手に'close notify'を送ります。
...に'close notify'を送ります。
このメソッドは openssl ライブラリ内で管理しているバッファを
フラッシュせずに接続を閉じます。そのため、通常は
これではなく OpenSSL::Buffering#close を呼ぶべきです。
OpenSSL::SSL::SSLSocket#sync_close...