るりまサーチ

最速Rubyリファレンスマニュアル検索!
276件ヒット [1-100件を表示] (0.040秒)
トップページ > クエリ:@[x] > クエリ:notify[x]

別のキーワード

  1. tuple notify
  2. shell notify
  3. tuplespace notify
  4. rinda/rinda notify
  5. constants key_notify

検索結果

<< 1 2 3 > >>

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

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

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

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

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

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

...ッチした場合にのみ報告されます。

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

sec で監視期間を秒数で指定できます。 nil で無...
...てください。

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

=== 例
require 'rinda/tuplespace'

tuplespace = Rinda::TupleSpace.new
observer = tuplespace.notify("write", ["xyz",...

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

@todo

...@todo

@
param opts

@
see Shell#notify...

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

@todo

...@todo

@
param opts

@
see Shell#notify...

Shell#notify(*opts) { ... } -> () (18117.0)

@todo

...@todo...

絞り込み条件を変える

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

@todo

...@todo...

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

@todo

...@todo...

Shell::Filter#notify(*opts) { ... } -> () (18117.0)

@todo

...@todo...

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

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

...例外ArgumentErrorを発生します。
全てのオブザーバの update メソッドを呼び出し後、更新フラグを初期化します。

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

Win32::Registry::Constants::KEY_NOTIFY (3117.0)

@todo

...@todo

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

絞り込み条件を変える

Observable (48.0)

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

...ドにより更新フラグを立て、
Observable#notify_observers が呼び出されると
更新フラグが立っている場合はオブザーバに通知します
(オブザーバの update メソッドを呼び出す)。
Observable#notify_observers の引数は
そのままオブザーバの...
...mbol)
@
symbol = symbol
end

def run
last_price = nil
loop do
price = Price.fetch(@symbol)
print "Current price: #{price}\n"
if price != last_price
changed # notify observers
last_price = price
notify
_obse...
...ects.
def initialize(ticker, limit)
@
limit = limit
ticker.add_observer(self)
end
end

class WarnLow < Warner
def update(time, price) # callback for observer
if price < @limit
print "--- #{time.to_s}: Price below #@limit: #{price}\n"
end
end...

Socket::Constants::IP_ROUTER_ALERT -> Integer (22.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)...
<< 1 2 3 > >>