9件ヒット
[1-9件を表示]
(0.217秒)
ライブラリ
- observer (1)
- openssl (1)
-
rinda
/ rinda (1) -
rinda
/ tuplespace (1) - shell (1)
-
shell
/ command-processor (1) -
shell
/ filter (1) -
shell
/ system-command (2)
クラス
-
OpenSSL
:: SSL :: SSLSocket (1) -
Rinda
:: TupleSpace (1) -
Rinda
:: TupleSpaceProxy (1) - Shell (1)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) -
Shell
:: SystemCommand (2)
モジュール
- Observable (1)
キーワード
-
notify
_ observers (1) - sysclose (1)
検索結果
先頭5件
- Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry - Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry - Observable
# notify _ observers(*arg) -> nil - Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String - Shell
:: SystemCommand # notify(*opts) -> String
-
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (82543.0) -
event で指定した種類のイベントの監視を開始します。
event で指定した種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数) -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (82525.0) -
event で指定した種類のイベントの監視を開始します。
event で指定した種類のイベントの監視を開始します。
イベントを生じさせたタプルがpattern にマッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で無限に監視し続けます。
event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'delet... -
Observable
# notify _ observers(*arg) -> nil (82207.0) -
オブザーバへ更新を通知します。
オブザーバへ更新を通知します。
更新フラグが立っていた場合は、
登録されているオブザーバの update メソッドを順次呼び出します。
与えられた引数はその update メソッドに渡されます。
与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合は
例外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。
@raise ArgumentError 与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合に発生します。 -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (81928.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
:: SystemCommand # notify(*opts) -> String (81628.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
# notify(*opts) { . . . } -> () (81607.0) -
@todo
@todo -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (81607.0) -
@todo
@todo -
Shell
:: Filter # notify(*opts) { . . . } -> () (81607.0) -
@todo
@todo -
OpenSSL
:: SSL :: SSLSocket # sysclose -> nil (18652.0) -
接続を閉じます。相手に'close notify'を送ります。
接続を閉じます。相手に'close notify'を送ります。
このメソッドは openssl ライブラリ内で管理しているバッファを
フラッシュせずに接続を閉じます。そのため、通常は
これではなく OpenSSL::Buffering#close を呼ぶべきです。
OpenSSL::SSL::SSLSocket#sync_close が真である場合は
このメソッドを呼びだした時点で自身が保持しているソケット
を同時に閉じます。