147件ヒット
[1-100件を表示]
(0.016秒)
別のキーワード
キーワード
- cgi (12)
- drb (12)
-
drb
/ extservm (12) -
drb
/ observer (12) -
net
/ smtp (12) - observer (12)
-
rinda
/ rinda (12) -
rubygems
/ commands / generate _ index _ command (12) -
rubygems
/ commands / server _ command (12) -
rubygems
/ server (12) -
webrick
/ httpserver (12) -
webrick
/ server (12) - xmlrpc (3)
検索結果
-
rubygems
/ commands / server _ command (6049.0) -
ローカルにインストールされている Gem パッケージとそのドキュメントを HTTP サーバに 載せて公開するためのライブラリです。
...ている Gem パッケージとそのドキュメントを HTTP サーバに
載せて公開するためのライブラリです。
Usage: gem server [options]
Options:
-p, --port=PORT port to listen on
-d, --dir=GEMDIR directory from which to ser......ository HTTP server
Description:
The server command starts up a web server that hosts the RDoc for your
installed gems and can operate as a server for installation of gems on other
machines.
The cache files for installed gems must exist to use the server as a sourc......e
for gem installation.
To install gems from a running server, use `gem install GEMNAME --source
http://gem_server_host:8808`
Defaults:
--port 8808 --dir /usr/lib/ruby/gems/1.8 --no-daemon... -
rubygems
/ server (6007.0) -
Gem パッケージを配布したり Gem パッケージに同梱されているドキュメントを参照するための 簡易ウェブサーバを動かすためのライブラリです。
...されているドキュメントを参照するための
簡易ウェブサーバを動かすためのライブラリです。
rubygems/commands/server_command を使用して起動するウェブサーバの本体です。
このライブラリを使用したウェブサーバは以下の設定... -
drb
/ observer (6001.0) -
DRb 用の修正をした Observable (DRb::DRbObservable) を定義するライブラリ。
DRb 用の修正をした Observable
(DRb::DRbObservable)
を定義するライブラリ。 -
observer (6001.0)
-
Observer パターンを扱うためのライブラリです。
...Observer パターンを扱うためのライブラリです。... -
webrick
/ httpserver (6001.0) -
HTTP サーバの機能を提供するライブラリです。
HTTP サーバの機能を提供するライブラリです。 -
webrick
/ server (6001.0) -
-
xmlrpc (91.0)
-
XML-RPC を扱うためのライブラリです。
...languages. Its distinctive feature is its simplicity compared to
other approaches like SOAP and CORBA.
The Ruby standard library package 'xmlrpc' enables you to create a server that
implements remote procedures and a client that calls them. Very little code
is required to achieve either of these.......re 'pp'
server = XMLRPC::Client.new2("http://xmlrpc-c.sourceforge.net/api/sample.php")
result = server.call("sample.sumAndDifference", 5, 3)
pp result
=== Documentation
See http://www.ntecs.de/projects/xmlrpc4r. There is plenty of detail there to
use the client and implement a server.
===......* Introspection
* multiCall
* optionally nil values and integers larger than 32 Bit
* Server
* Standalone XML-RPC server
* CGI-based (works with FastCGI)
* Apache mod_ruby server
* WEBrick servlet
* Client
* synchronous/asynchronous calls
* Basic HTTP-401 Auth... -
cgi (31.0)
-
CGI プログラムの支援ライブラリです。
...* REMOTE_ADDR
* REMOTE_HOST
* REMOTE_IDENT
* REMOTE_USER
* REQUEST_METHOD
* SCRIPT_NAME
* SERVER_NAME
* SERVER_PORT
* SERVER_PROTOCOL
* SERVER_SOFTWARE
#content_length と #server_port
は整数を、その他のメソッドは文字列を返します。
HTTP_COOKIE と HTTP_COO... -
drb (31.0)
-
分散オブジェクトプログラミングのためのライブラリです。
...ては実行時に解決されます。
リモートプロセスからのメソッド呼出しはそれを受け取ったプロセスの
DRb::DRbServer オブジェクトが処理します。
受け取ったメッセージからメソッド呼出し情報を取り出し、ローカルにある
オ......を必要としたりは
しません。
オブジェクトの特定は DRb::DRbServer が自動でします。そのため
オブジェクトの登録のようなことは通常必要ありません。
DRb::DRbServer に URI(例: druby://example.com:8787)を関連付けること
で、他のプ......定しないことで、他のプロセスからのリモートメソッド
呼び出しを拒否することができます)。
また、DRb::DRbServer に「フロントオブジェクト」を登録しておくと、
サーバの URI からそのオブジェクトをリモートオブジェクト... -
drb
/ extservm (31.0) -
DRb::ExtServManager を定義しているライブラリ。
...下の例を実行するためには、まず server.rb を起動し、その後 client.rb を
動かします。service.rb は server.rb が client.rb からサービスを要求された
時に起動されます。また、stop.rbを用いて
server.rb:
require 'drb/drb'
require 'drb/exts......ト番号に 0 を指定すると ephemeral port から適当なポート番号が
# 選ばれる
server = DRb::DRbServer.new("druby://localhost:0", front)
# ARGV の最後の2つと DRbServer オブジェクトを ExtServ.new に渡す。
# これによってブローカープロセス......にサービスの
# 窓口となる ExtServ オブジェクトを渡す
es = DRb::ExtServ.new(ARGV[1], ARGV[2], server)
# サーバスレッドの停止を待つ
DRb.thread.join
# サービスを DRb::ExtServ#stop_service で止めると、サーバスレッドが
# 終了するた...