1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/sample/drb
seki a1162d2bf8 using "DRb.thread.join" instead of "gets"
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-06-27 15:36:32 +00:00
..
darray.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
darrayc.rb import drb/sample 2004-02-14 02:28:02 +00:00
dbiff.rb import drb/sample 2004-02-14 02:28:02 +00:00
dcdbiff.rb import drb/sample 2004-02-14 02:28:02 +00:00
dchatc.rb import drb/sample 2004-02-14 02:28:02 +00:00
dchats.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
dhasen.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
dhasenc.rb import drb/sample 2004-02-14 02:28:02 +00:00
dlogc.rb import drb/sample 2004-02-14 02:28:02 +00:00
dlogd.rb import drb/sample 2004-02-14 02:28:02 +00:00
dqin.rb import drb/sample 2004-02-14 02:28:02 +00:00
dqlib.rb import drb/sample 2004-02-14 02:28:02 +00:00
dqout.rb import drb/sample 2004-02-14 02:28:02 +00:00
dqueue.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
drbc.rb import drb/sample 2004-02-14 02:28:02 +00:00
drbch.rb import drb/sample 2004-02-14 02:28:02 +00:00
drbm.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
drbmc.rb import drb/sample 2004-02-14 02:28:02 +00:00
drbs-acl.rb import drb/sample 2004-02-14 02:28:02 +00:00
drbs.rb import drb/sample 2004-02-14 02:28:02 +00:00
drbssl_c.rb import drb/sample 2004-02-14 02:28:02 +00:00
drbssl_s.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
extserv_test.rb import drb/sample 2004-02-14 02:28:02 +00:00
gw_ct.rb import drb/sample 2004-02-14 02:28:02 +00:00
gw_cu.rb import drb/sample 2004-02-14 02:28:02 +00:00
gw_s.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
holderc.rb import drb/sample 2004-02-14 02:28:02 +00:00
holders.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
http0.rb import drb/sample 2004-02-14 02:28:02 +00:00
http0serv.rb import drb/sample 2004-02-14 02:28:02 +00:00
name.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
namec.rb import drb/sample 2004-02-14 02:28:02 +00:00
old_tuplespace.rb import drb/sample 2004-02-14 02:28:02 +00:00
README.rd import drb/sample 2004-02-14 02:28:02 +00:00
README.rd.ja import drb/sample 2004-02-14 02:28:02 +00:00
rinda_ts.rb import drb/sample 2004-02-14 02:28:02 +00:00
rindac.rb import drb/sample 2004-02-14 02:28:02 +00:00
rindas.rb import drb/sample 2004-02-14 02:28:02 +00:00
ring_echo.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
ring_inspect.rb import drb/sample 2004-02-14 02:28:02 +00:00
ring_place.rb import drb/sample 2004-02-14 02:28:02 +00:00
simpletuple.rb import drb/sample 2004-02-14 02:28:02 +00:00
speedc.rb import drb/sample 2004-02-14 02:28:02 +00:00
speeds.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00

= サンプルスクリプト

* Arrayをリモートから利用してイテレータを試す。
  * darray.rb --- server
  * darrayc.rb --- client

* 簡易チャット
  * dchats.rb --- server
  * dchatc.rb --- client

* 分散chasen
  * dhasen.rb --- server
  * dhasenc.rb --- client

* 簡易ログサーバ
  * dlogd.rb --- server
  * dlogc.rb --- client

* Queueサーバ。
  クライアントdqin.rbはQueueサーバの知らないオブジェクト(DQEntry)を
  pushするがDRbUnknownによりクライアントdqout.rbがpopできる。
  * dqueue.rb --- server
  * dqin.rb --- client。DQEntryオブジェクトをpushする
  * dqout.rb --- client。DQEntryオブジェクトをpopする
  * dqlib.rb --- DQEntryを定義したライブラリ

* 名前による参照
  IdConvをカスタマイズしてidでなく名前で参照する例
  * name.rb --- server
  * namec.rb --- client

* extservのサンプル
  * extserv_test.rb

* TimerIdConvの使用例
  * holders.rb --- server。ruby -d hodlers.rbとするとTimerIdConvを使用する。
  * holderc.rb --- client

* rinda.rbの使用例
  * rinda_ts.rb --- TupleSpaceサーバ。
  * rindac.rb --- TupleSpaceのclientでアプリケーションのclient
  * rindas.rb --- TupleSpaceのclientでアプリケーションのserver

* observerの使用例
  cdbiff - ((<URI:http://namazu.org/~satoru/cdbiff/>))
  * dbiff.rb --- dcdbiff server
  * dcdbiff.rb --- dcdbiff client

* drbsslの使用例
  * drbssl_s.rb
  * drbssl_c.rb

* DRbProtoclの追加例
  * http0.rb
  * http0serv.rb

* ringの使用例
  * ring_place.rb
  * ring_echo.rb