276件ヒット
[1-100件を表示]
(0.040秒)
種類
- 定数 (192)
- インスタンスメソッド (66)
- モジュール (12)
- 特異メソッド (6)
ライブラリ
- observer (24)
-
rinda
/ rinda (12) -
rinda
/ tuplespace (12) - shell (12)
-
shell
/ command-processor (6) -
shell
/ filter (6) -
shell
/ system-command (12) - socket (48)
-
win32
/ registry (144)
クラス
-
Rinda
:: TupleSpace (12) -
Rinda
:: TupleSpaceProxy (12) - Shell (12)
-
Shell
:: CommandProcessor (6) -
Shell
:: Filter (6) -
Shell
:: SystemCommand (12) - Socket (24)
モジュール
- Observable (12)
-
Socket
:: Constants (24) -
Win32
:: Registry :: Constants (144)
キーワード
-
IP
_ ROUTER _ ALERT (24) -
KEY
_ ALL _ ACCESS (12) -
KEY
_ CREATE _ LINK (12) -
KEY
_ CREATE _ SUB _ KEY (12) -
KEY
_ ENUMERATE _ SUB _ KEYS (12) -
KEY
_ EXECUTE (12) -
KEY
_ NOTIFY (12) -
KEY
_ QUERY _ VALUE (12) -
KEY
_ READ (12) -
KEY
_ SET _ VALUE (12) -
KEY
_ WRITE (12) - Observable (12)
-
STANDARD
_ RIGHTS _ READ (12) -
STANDARD
_ RIGHTS _ WRITE (12) -
TCP
_ DEFER _ ACCEPT (24) -
notify
_ observers (12)
検索結果
先頭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 (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)...