74件ヒット
[1-74件を表示]
(0.151秒)
ライブラリ
- observer (11)
- openssl (11)
-
rinda
/ rinda (11) -
rinda
/ tuplespace (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (12)
クラス
-
OpenSSL
:: SSL :: SSLSocket (11) -
Rinda
:: TupleSpace (11) -
Rinda
:: TupleSpaceProxy (11) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (12)
モジュール
- Observable (11)
キーワード
-
notify
_ observers (11) - sysclose (11)
検索結果
先頭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 (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......: タプルが take された
* 'delete' : タプルが有効期限切れや上書きされたなどでタプルスペースから削除された
これで指定したイベントに加えて、
有効期限切れによって監視が終了した場合には 'close' イベントが報告されま......ては 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
# notify(*opts) { . . . } -> () (21102.0) -
@todo
@todo -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (21102.0) -
@todo
@todo -
Shell
:: Filter # notify(*opts) { . . . } -> () (21102.0) -
@todo
@todo -
Observable
# notify _ observers(*arg) -> nil (9202.0) -
オブザーバへ更新を通知します。
オブザーバへ更新を通知します。
更新フラグが立っていた場合は、
登録されているオブザーバの update メソッドを順次呼び出します。
与えられた引数はその update メソッドに渡されます。
与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合は
例外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。
@raise ArgumentError 与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合に発生します。 -
OpenSSL
:: SSL :: SSLSocket # sysclose -> nil (9117.0) -
接続を閉じます。相手に'close notify'を送ります。
...に'close notify'を送ります。
このメソッドは openssl ライブラリ内で管理しているバッファを
フラッシュせずに接続を閉じます。そのため、通常は
これではなく OpenSSL::Buffering#close を呼ぶべきです。
OpenSSL::SSL::SSLSocket#sync_close...