⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.93
Server IP:
65.108.141.171
Server:
Linux server.heloix.com 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
Server Software:
Apache
PHP Version:
7.4.33
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
ri
/
2.7.0
/
system
/
DRb
/
GWIdConv
/
View File Name :
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::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;TcRDoc::NormalModule