種類
- 定数 (16)
- インスタンスメソッド (9)
- モジュール (2)
- 特異メソッド (1)
ライブラリ
-
drb
/ observer (1) - observer (2)
- openssl (1)
-
rinda
/ rinda (1) -
rinda
/ tuplespace (1) - shell (2)
-
shell
/ command-processor (1) -
shell
/ filter (1) -
shell
/ system-command (2) - socket (4)
-
win32
/ registry (12)
クラス
-
OpenSSL
:: SSL :: SSLSocket (1) -
Rinda
:: TupleSpace (1) -
Rinda
:: TupleSpaceProxy (1) - Shell (2)
-
Shell
:: CommandProcessor (1) -
Shell
:: Filter (1) -
Shell
:: SystemCommand (2) - Socket (2)
モジュール
- Observable (1)
-
Socket
:: Constants (2) -
Win32
:: Registry :: Constants (12)
キーワード
- DRbObservable (1)
-
IP
_ ROUTER _ ALERT (2) -
KEY
_ ALL _ ACCESS (1) -
KEY
_ CREATE _ LINK (1) -
KEY
_ CREATE _ SUB _ KEY (1) -
KEY
_ ENUMERATE _ SUB _ KEYS (1) -
KEY
_ EXECUTE (1) -
KEY
_ NOTIFY (1) -
KEY
_ QUERY _ VALUE (1) -
KEY
_ READ (1) -
KEY
_ SET _ VALUE (1) -
KEY
_ WRITE (1) - Observable (1)
-
STANDARD
_ RIGHTS _ READ (1) -
STANDARD
_ RIGHTS _ WRITE (1) -
TCP
_ DEFER _ ACCEPT (2) -
notify
_ observers (1) - sysclose (1)
検索結果
先頭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 (54640.0) -
event で指定した種類のイベントの監視を開始します。
event で指定した種類のイベントの監視を開始します。
内部的にはリモートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数) -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (54622.0) -
event で指定した種類のイベントの監視を開始します。
event で指定した種類のイベントの監視を開始します。
イベントを生じさせたタプルがpattern にマッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
sec で監視期間を秒数で指定できます。 nil で無限に監視し続けます。
event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'delet... -
Shell
:: SystemCommand # notify(*opts) -> String (54325.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (54325.0) -
@todo
@todo
@param opts
@see Shell#notify -
Shell
# notify(*opts) { . . . } -> () (54304.0) -
@todo
@todo -
Shell
. notify(*opts) {|message| . . . } -> String (54304.0) -
@todo
@todo -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (54304.0) -
@todo
@todo -
Shell
:: Filter # notify(*opts) { . . . } -> () (54304.0) -
@todo
@todo -
Observable
# notify _ observers(*arg) -> nil (18304.0) -
オブザーバへ更新を通知します。
オブザーバへ更新を通知します。
更新フラグが立っていた場合は、
登録されているオブザーバの update メソッドを順次呼び出します。
与えられた引数はその update メソッドに渡されます。
与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合は
例外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。
@raise ArgumentError 与えられた引数の数と登録されているオブザーバのupdate メソッドの引数の数に違いがある場合に発生します。 -
Win32
:: Registry :: Constants :: KEY _ NOTIFY (9304.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Observable (73.0)
-
Observer パターンを提供するモジュールです。
Observer パターンを提供するモジュールです。
Mix-in により Observer パターンを提供します。
Observable モジュールを include したクラスは
Observable#changed メソッドにより更新フラグを立て、
Observable#notify_observers が呼び出されると
更新フラグが立っている場合はオブザーバに通知します
(オブザーバの update メソッドを呼び出す)。
Observable#notify_observers の引数は
そのままオブザーバの update メソッドに渡されます。
=== サンプルコード
re... -
OpenSSL
:: SSL :: SSLSocket # sysclose -> nil (49.0) -
接続を閉じます。相手に'close notify'を送ります。
接続を閉じます。相手に'close notify'を送ります。
このメソッドは openssl ライブラリ内で管理しているバッファを
フラッシュせずに接続を閉じます。そのため、通常は
これではなく OpenSSL::Buffering#close を呼ぶべきです。
OpenSSL::SSL::SSLSocket#sync_close が真である場合は
このメソッドを呼びだした時点で自身が保持しているソケット
を同時に閉じます。 -
Socket
:: Constants :: IP _ ROUTER _ ALERT -> Integer (49.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
:: Constants :: TCP _ DEFER _ ACCEPT -> Integer (49.0) -
Don't notify a listening socket until data is ready。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Don't notify a listening socket until data is ready。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(7linux) -
Socket
:: IP _ ROUTER _ ALERT -> Integer (49.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
:: TCP _ DEFER _ ACCEPT -> Integer (49.0) -
Don't notify a listening socket until data is ready。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Don't notify a listening socket until data is ready。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see tcp(7linux) -
DRb
:: DRbObservable (19.0) -
DRb 用の修正をした Observable モジュールです。 通常の Observable と同様に利用します。
DRb 用の修正をした Observable モジュールです。
通常の Observable と同様に利用します。
詳しくは Observable のリファレンスを見てください。
Observable#notify_observers で
各オブザーバに更新を通知したときに例外を発生させた
オブジェクトをオブザーバのリストから削除します。
またその例外は破棄されます。
つまり、このモジュールは、エラーを起こしたオブザーバは
無視してしまうのが適切な場合に用います。 -
Win32
:: Registry :: Constants :: KEY _ ALL _ ACCESS (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ CREATE _ LINK (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ CREATE _ SUB _ KEY (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ ENUMERATE _ SUB _ KEYS (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ EXECUTE (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ QUERY _ VALUE (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ READ (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ SET _ VALUE (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: KEY _ WRITE (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: STANDARD _ RIGHTS _ READ (4.0) -
@todo
@todo
セキュリティアクセスマスク。 -
Win32
:: Registry :: Constants :: STANDARD _ RIGHTS _ WRITE (4.0) -
@todo
@todo
セキュリティアクセスマスク。