Gestionnaire de fichiers - Editer - /opt/cpanel/ea-ruby24/root/usr/share/ri/system/DRb/GWIdConv/cdesc-GWIdConv.ri
Arrière
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::BlankLine o; ;[ 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[i 0o;;[ ; 0;0[@/I"DRb;FcRDoc::NormalModule
| ver. 1.4 |
Github
|
.
| PHP 8.0.30 | Génération de la page: 0 |
proxy
|
phpinfo
|
Réglages