るりまサーチ (Ruby 2.1.0)

最速Rubyリファレンスマニュアル検索!
23件ヒット [1-23件を表示] (0.302秒)
トップページ > クエリ:l[x] > バージョン:2.1.0[x] > クエリ:e[x] > クエリ:a[x] > クエリ:notify[x]

別のキーワード

  1. open3 popen2e
  2. socket af_e164
  3. matrix det_e
  4. open3 capture2e
  5. matrix rank_e

検索結果

Rinda::TupleSpace#notify(event, pattern, sec = nil) -> Rinda::NotifyTemplateEntry (82822.0)

event で指定した種類のイベントの監視を開始します。

event で指定した種類のイベントの監視を開始します。

イベントを生じさせたタプルがpattern にマッチした場合にのみ報告されます。

イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。

sec で監視期間を秒数で指定できます。 nil で無限に監視し続けます。

event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'delet...

Rinda::TupleSpaceProxy#notify(ev, tuple, sec = nil) -> Rinda::NotifyTemplateEntry (82540.0)

event で指定した種類のイベントの監視を開始します。

event で指定した種類のイベントの監視を開始します。

内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください

@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数)

Observable#notify_observers(*arg) -> nil (82504.0)

オブザーバへ更新を通知します。

オブザーバへ更新を通知します。

更新フラグが立っていた場合は、
登録されているオブザーバの update メソッドを順次呼び出します。
与えられた引数はその update メソッドに渡されます。
与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合は
例外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。

@raise ArgumentError 与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合に発生します。

Shell::SystemCommand#notify(*opts) {|message| ... } -> String (81925.0)

@todo

@todo

@param opts

@see Shell#notify

Shell::SystemCommand#notify(*opts) -> String (81325.0)

@todo

@todo

@param opts

@see Shell#notify

絞り込み条件を変える

Shell::CommandProcessor#notify(*opts) { ... } -> () (81304.0)

@todo

@todo

Shell.notify(*opts) {|message| ... } -> String (72904.0)

@todo

@todo

Socket::Constants::IP_ROUTER_ALERT -> Integer (64549.0)

Notify transit routers to more closely examine the contents of an IP packet。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

Notify transit routers to more closely examine the contents of an IP packet。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, ip(7linux)

Socket::IP_ROUTER_ALERT -> Integer (64549.0)

Notify transit routers to more closely examine the contents of an IP packet。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

Notify transit routers to more closely examine the contents of an IP packet。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see Socket::Constants::IPPROTO_IP, ip(7linux)

Win32::Registry::Constants::KEY_ALL_ACCESS (54904.0)

@todo

@todo

セキュリティアクセスマスク。

絞り込み条件を変える

Win32::Registry::Constants::KEY_CREATE_LINK (54904.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_CREATE_SUB_KEY (54904.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_ENUMERATE_SUB_KEYS (54904.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_QUERY_VALUE (54904.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_SET_VALUE (54904.0)

@todo

@todo

セキュリティアクセスマスク。

絞り込み条件を変える

Observable (54127.0)

Observer パターンを提供するモジュールです。

Observer パターンを提供するモジュールです。

Mix-in により Observer パターンを提供します。

Observable モジュールを include したクラスは
Observable#changed メソッドにより更新フラグを立て、
Observable#notify_observers が呼び出されると
更新フラグが立っている場合はオブザーバに通知します
(オブザーバの update メソッドを呼び出す)。
Observable#notify_observers の引数は
そのままオブザーバの update メソッドに渡されます。

=== サンプルコード
re...

DRb::DRbObservable (54019.0)

DRb 用の修正をした Observable モジュールです。 通常の Observable と同様に利用します。

DRb 用の修正をした Observable モジュールです。
通常の Observable と同様に利用します。

詳しくは Observable のリファレンスを見てください。

Observable#notify_observers で
各オブザーバに更新を通知したときに例外を発生させた
オブジェクトをオブザーバのリストから削除します。
またその例外は破棄されます。

つまり、このモジュールは、エラーを起こしたオブザーバは
無視してしまうのが適切な場合に用います。

Win32::Registry::Constants::KEY_NOTIFY (45604.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_READ (45604.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::STANDARD_RIGHTS_READ (45604.0)

@todo

@todo

セキュリティアクセスマスク。

絞り込み条件を変える

Win32::Registry::Constants::STANDARD_RIGHTS_WRITE (45604.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_EXECUTE (36304.0)

@todo

@todo

セキュリティアクセスマスク。

Win32::Registry::Constants::KEY_WRITE (36304.0)

@todo

@todo

セキュリティアクセスマスク。