種類
- インスタンスメソッド (57)
- 定数 (44)
- モジュール (11)
- 特異メソッド (6)
ライブラリ
- observer (22)
-
rinda
/ rinda (11) -
rinda
/ tuplespace (11) - shell (6)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (12) - socket (44)
クラス
-
Rinda
:: TupleSpace (11) -
Rinda
:: TupleSpaceProxy (11) - Shell (6)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (12) - Socket (22)
モジュール
- Observable (11)
-
Socket
:: Constants (22)
キーワード
-
IP
_ ROUTER _ ALERT (22) - Observable (11)
-
TCP
_ DEFER _ ACCEPT (22) -
notify
_ observers (11)
検索結果
先頭5件
- Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry - Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry - Shell
:: CommandProcessor # notify(*opts) { . . . } -> () - Shell
:: Filter # notify(*opts) { . . . } -> () - Shell
:: SystemCommand # notify(*opts) -> String
-
Rinda
:: TupleSpaceProxy # notify(ev , tuple , sec = nil) -> Rinda :: NotifyTemplateEntry (21413.0) -
event で指定した種類のイベントの監視を開始します。
...モートオブジェクトの Rinda::TupleSpace#notify にフォワードされます。
詳細は Rinda::TupleSpace#notify 参照してください
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒... -
Rinda
:: TupleSpace # notify(event , pattern , sec = nil) -> Rinda :: NotifyTemplateEntry (21407.0) -
event で指定した種類のイベントの監視を開始します。
...。
イベントを生じさせたタプルがpattern にマッチした場合にのみ報告されます。
イベントが生じた場合、
このメソッドの返り値の Rinda::NotifyTemplateEntry を経由し、
Rinda::NotifyTemplateEntry#each を用いて報告を受け取ります。
se......で監視期間を秒数で指定できます。 nil で無限に監視し続けます。
event として以下の3つを指定できます。
* 'write' : タプルが追加された
* 'take' : タプルが take された
* 'delete' : タプルが有効期限切れや上書きされたなど......pattern で指定できるパターンについては lib:rinda/rinda#tuplepattern を
参照してください。
@param event 監視対象のイベント(文字列)
@param pattern 監視対象となるタプルのパターン
@param sec 監視期間の長さ(秒数)
=== 例
require 'rinda/tu... -
Shell
:: CommandProcessor # notify(*opts) { . . . } -> () (21201.0) -
@todo
@todo -
Shell
:: Filter # notify(*opts) { . . . } -> () (21201.0) -
@todo
@todo -
Shell
:: SystemCommand # notify(*opts) -> String (18308.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (18308.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
. notify(*opts) {|message| . . . } -> String (18301.0) -
@todo
@todo -
Observable
# notify _ observers(*arg) -> nil (15301.0) -
オブザーバへ更新を通知します。
...update メソッドの引数の数に違いがある場合は
例外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。
@raise ArgumentError 与えられた引数の数と登録されているオブザーバ... -
Socket
:: Constants :: IP _ ROUTER _ ALERT -> Integer (6216.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 (6216.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 (6216.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 (6216.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)...