ruby/sample/drb
ko1 860b40fd63 * compile.c (iseq_compile_each): remove "retry" in block.
("iter{retry}" cause syntax error)
  Currently, "begin; ...; rescue; iter{retry}; end" cause
  syntax error too.
* bootstraptest/test_jump.rb: ditto.
* lib/drb/invokemethod.rb: ditto.
* sample/drb/darrayc.rb: ditto.
* sample/test.rb: ditto.
* test/drb/drbtest.rb: ditto.
* test/ruby/test_iterator.rb: ditto.
* sample/test.rb: add a 'test' directory on the SYSTEM test.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-12-19 08:46:49 +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
darray.rb using "DRb.thread.join" instead of "gets" 2004-06-27 15:36:32 +00:00
darrayc.rb * compile.c (iseq_compile_each): remove "retry" in block. 2007-12-19 08:46:49 +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
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

README.rd.ja

= サンプルスクリプト

* 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