ÿØÿà JFIF    ÿÛ „ ( %!1!%*+...983,7(-.- PK]t !!uri-i.rinu[U:RDoc::Attr[iI"uri:ETI"DRb::DRbServer#uri;TI"R;T: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"The URI of this DRbServer.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below0F@I"DRb::DRbServer;TcRDoc::NormalClass0PK]w[0InvokeMethod18Mixin/cdesc-InvokeMethod18Mixin.rinu[U:RDoc::NormalModule[iI"InvokeMethod18Mixin:EFI"(DRb::DRbServer::InvokeMethod18Mixin;T0o:RDoc::Markup::Document: @parts[: @file0:0@omit_headings_from_table_of_contents_below0[[[[[I" class;T[[: public[[:protected[[: private[[I" instance;T[[; [[; [[; [[[U:RDoc::Context::Section[i0o;;[; 0; 0[I"lib/drb/invokemethod.rb;TI"DRb::DRbServer;TcRDoc::NormalClassPK]$th)) alive%3f-i.rinu[U:RDoc::AnyMethod[iI" alive?:EFI"DRb::DRbServer#alive?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Is this server alive?;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"DRbServer;TcRDoc::NormalClass00PK]Fdefault_safe_level-c.rinu[U:RDoc::AnyMethod[iI"default_safe_level:EFI"'DRb::DRbServer::default_safe_level;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HSet the default safe level to +level+. The default safe level is 0;To:RDoc::Markup::BlankLineo; ; [I"#See #new for more information.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (level);T@FI"DRbServer;TcRDoc::NormalClass00PK];BLRR to_obj-i.rinu[U:RDoc::AnyMethod[iI" to_obj:EFI"DRb::DRbServer#to_obj;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Convert a dRuby reference to the local object it refers to.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (ref);T@FI"DRbServer;TcRDoc::NormalClass00PK]f֏AA to_id-i.rinu[U:RDoc::AnyMethod[iI" to_id:EFI"DRb::DRbServer#to_id;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"1Convert a local object to a dRuby reference.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (obj);T@FI"DRbServer;TcRDoc::NormalClass00PK]J=jjinsecure_method%3f-i.rinu[U:RDoc::AnyMethod[iI"insecure_method?:EFI"$DRb::DRbServer#insecure_method?;TF: privateo:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"@Has a method been included in the list of insecure methods?;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (msg_id);T@FI"DRbServer;TcRDoc::NormalClass00PK]*;(11stop_service-i.rinu[U:RDoc::AnyMethod[iI"stop_service:EFI" DRb::DRbServer#stop_service;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"Stop this server.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"DRbServer;TcRDoc::NormalClass00PK]:mdefault_argc_limit-c.rinu[U:RDoc::AnyMethod[iI"default_argc_limit:EFI"'DRb::DRbServer::default_argc_limit;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Set the default value for the :argc_limit option.;To:RDoc::Markup::BlankLineo; ; [I"3See #new(). The initial default value is 256.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (argc);T@FI"DRbServer;TcRDoc::NormalClass00PK] new-c.rinu[U:RDoc::AnyMethod[iI"new:ETI"DRb::DRbServer::new;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"%Create a new DRbServer instance.;To:RDoc::Markup::BlankLineo; ; [ I"@+uri+ is the URI to bind to. This is normally of the form ;TI"C'druby://:' where is a hostname of ;TI"Dthe local machine. If nil, then the system's default hostname ;TI"Ewill be bound to, on a port selected by the system; these value ;TI"Dcan be retrieved from the +uri+ attribute. 'druby:' specifies ;TI"Bthe default dRuby transport protocol: another protocol, such ;TI"-as 'drbunix:', can be specified instead.;T@o; ; [I"E+front+ is the front object for the server, that is, the object ;TI"Dto which remote method calls on the server will be passed. If ;TI">nil, then the server will not accept remote method calls.;T@o; ; [I">If +config_or_acl+ is a hash, it is the configuration to ;TI"@use for this server. The following options are recognised:;T@o:RDoc::Markup::List: @type: NOTE: @items[ o:RDoc::Markup::ListItem: @label[I" :idconv ;T; [o; ; [I"7an id-to-object conversion object. This defaults ;TI"0to an instance of the class DRb::DRbIdConv.;To;;[I":verbose ;T; [o; ; [I"7if true, all unsuccessful remote calls on objects ;TI"4in the server will be logged to $stdout. false ;TI"by default.;To;;[I":tcp_acl ;T; [o; ; [I"3the access control list for this server. See ;TI"4the ACL class from the main dRuby distribution.;To;;[I":load_limit ;T; [o; ; [I"3the maximum message size in bytes accepted by ;TI"/the server. Defaults to 25 MB (26214400).;To;;[I":argc_limit ;T; [o; ; [I"1the maximum number of arguments to a remote ;TI"1method accepted by the server. Defaults to ;TI" 256.;To;;[I":safe_level ;T; [o; ; [I"5The safe level of the DRbServer. The attribute ;TI"8sets $SAFE for methods performed in the main_loop. ;TI"Defaults to 0.;T@o; ; [ I"The main loop performed by a DRbServer's internal thread.;To:RDoc::Markup::BlankLineo; ; [ I"?Accepts a connection from a client, and starts up its own ;TI"Athread to handle it. This thread loops, receiving requests ;TI";from the client, invoking them on a local object, and ;TI"Areturning responses, until the client closes the connection ;TI""or a local method call fails.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"DRbServer;TcRDoc::NormalClass00PK]|^00 config-i.rinu[U:RDoc::Attr[iI" config:ETI"DRb::DRbServer#config;TI"R;T: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"(The configuration of this DRbServer;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below0F@I"DRb::DRbServer;TcRDoc::NormalClass0PK] F٢verbose%3d-c.rinu[U:RDoc::AnyMethod[iI" verbose=:EFI"DRb::DRbServer::verbose=;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"2Set the default value of the :verbose option.;To:RDoc::Markup::BlankLineo; ; [I"5See #new(). The initial default value is false.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (on);T@FI"DRbServer;TcRDoc::NormalClass00PK] DD verbose-c.rinu[U:RDoc::AnyMethod[iI" verbose:EFI"DRb::DRbServer::verbose;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"2Get the default value of the :verbose option.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"DRbServer;TcRDoc::NormalClass00PK]珞 front-i.rinu[U:RDoc::Attr[iI" front:ETI"DRb::DRbServer#front;TI"R;T: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"'The front object of the DRbServer.;To:RDoc::Markup::BlankLineo; ; [I"CThis object receives remote method calls made on the server's ;TI""URI alone, with an object id.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below0F@I"DRb::DRbServer;TcRDoc::NormalClass0PK]*ˑdefault_acl-c.rinu[U:RDoc::AnyMethod[iI"default_acl:EFI" DRb::DRbServer::default_acl;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"MSet the default access control list to +acl+. The default ACL is +nil+.;To:RDoc::Markup::BlankLineo; ; [I"!See also DRb::ACL and #new();T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (acl);T@FI"DRbServer;TcRDoc::NormalClass00PK]p safe_level-i.rinu[U:RDoc::Attr[iI"safe_level:ETI"DRb::DRbServer#safe_level;TI"R;T: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"HThe safe level for this server. This is a number corresponding to ;TI" $SAFE.;To:RDoc::Markup::BlankLineo; ; [I" The default safe_level is 0;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below0F@I"DRb::DRbServer;TcRDoc::NormalClass0PK]sbP verbose-i.rinu[U:RDoc::AnyMethod[iI" verbose:EFI"DRb::DRbServer#verbose;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"/Get whether the server is in verbose mode.;To:RDoc::Markup::BlankLineo; ; [I"8In verbose mode, failed calls are logged to stdout.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"();T@FI"DRbServer;TcRDoc::NormalClass00PK]HRdefault_id_conv-c.rinu[U:RDoc::AnyMethod[iI"default_id_conv:EFI"$DRb::DRbServer::default_id_conv;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"3Set the default value for the :id_conv option.;To:RDoc::Markup::BlankLineo; ; [I"DSee #new(). The initial default value is a DRbIdConv instance.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (idconv);T@FI"DRbServer;TcRDoc::NormalClass00PK]=default_load_limit-c.rinu[U:RDoc::AnyMethod[iI"default_load_limit:EFI"'DRb::DRbServer::default_load_limit;TT: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"6Set the default value for the :load_limit option.;To:RDoc::Markup::BlankLineo; ; [I"5See #new(). The initial default value is 25 MB.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (sz);T@FI"DRbServer;TcRDoc::NormalClass00PK]566 here%3f-i.rinu[U:RDoc::AnyMethod[iI" here?:EFI"DRb::DRbServer#here?;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"&Is +uri+ the URI for this server?;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I" (uri);T@FI"DRbServer;TcRDoc::NormalClass00PK] ^TTcdesc-DRbServer.rinu[U:RDoc::NormalClass[iI"DRbServer:ETI"DRb::DRbServer;TI" Object;To:RDoc::Markup::Document: @parts[o;;[ o:RDoc::Markup::Paragraph;[I".Class representing a drb server instance.;To:RDoc::Markup::BlankLineo; ;[ I"JA DRbServer must be running in the local process before any incoming ;TI"HdRuby calls can be accepted, or any local objects can be passed as ;TI"KdRuby references to remote processes, even if those local objects are ;TI"Jnever actually called remotely. You do not need to start a DRbServer ;TI"Fin the local process if you are only making outgoing dRuby calls ;TI"#passing marshalled parameters.;T@o; ;[I"MUnless multiple servers are being used, the local DRbServer is normally ;TI"*started by calling DRb.start_service.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below0; 0; 0[ [ I" config;TI"R;T: publicFI"lib/drb/drb.rb;T[ I" front;TI"R;T; F@#[ I"safe_level;TI"R;T; F@#[ I" thread;TI"R;T; F@#[ I"uri;TI"R;T; F@#[U:RDoc::Constant[iI"INSECURE_METHOD;FI"$DRb::DRbServer::INSECURE_METHOD;T00o;;[o; ;[I"List of insecure methods.;T@o; ;[I".These methods are not callable via dRuby.;T; @; 0@@cRDoc::NormalClass0[[[I" class;T[[; [ [I"default_acl;F@#[I"default_argc_limit;F@#[I"default_id_conv;F@#[I"default_load_limit;F@#[I"default_safe_level;F@#[I"new;T@#[I" verbose;F@#[I" verbose=;F@#[:protected[[: private[[I" instance;T[[; [ [I" alive?;F@#[I"check_insecure_method;F@#[I" here?;F@#[I"stop_service;F@#[I" to_id;F@#[I" to_obj;F@#[I" verbose;F@#[I" verbose=;F@#[;[[;[ [I" any_to_s;F@#[I"insecure_method?;F@#[I"main_loop;F@#[I"run;F@#[[U:RDoc::Context::Section[i0o;;[; 0; 0[@I"lib/drb/invokemethod.rb;TI"DRb;FcRDoc::NormalModulePK]p thread-i.rinu[U:RDoc::Attr[iI" thread:ETI"DRb::DRbServer#thread;TI"R;T: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I"'The main thread of this DRbServer.;To:RDoc::Markup::BlankLineo; ; [I"AThis is the thread that listens for and accepts connections ;TI"Cfrom clients, not that handles each client's request-response ;TI" session.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below0F@I"DRb::DRbServer;TcRDoc::NormalClass0PK] : ~check_insecure_method-i.rinu[U:RDoc::AnyMethod[iI"check_insecure_method:EFI")DRb::DRbServer#check_insecure_method;TF: publico:RDoc::Markup::Document: @parts[ o:RDoc::Markup::Paragraph; [I"/Check that a method is callable via dRuby.;To:RDoc::Markup::BlankLineo; ; [I"J+obj+ is the object we want to invoke the method on. +msg_id+ is the ;TI"method name, as a Symbol.;T@o; ; [I"CIf the method is an insecure method (see #insecure_method?) a ;TI"FSecurityError is thrown. If the method is private or undefined, ;TI"a NameError is thrown.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"(obj, msg_id);T@FI"DRbServer;TcRDoc::NormalClass00PK]verbose%3d-i.rinu[U:RDoc::AnyMethod[iI" verbose=:EFI"DRb::DRbServer#verbose=;TF: publico:RDoc::Markup::Document: @parts[o:RDoc::Markup::Paragraph; [I",Set whether to operate in verbose mode.;To:RDoc::Markup::BlankLineo; ; [I"8In verbose mode, failed calls are logged to stdout.;T: @fileI"lib/drb/drb.rb;T:0@omit_headings_from_table_of_contents_below000[I"(v);T@FI"DRbServer;TcRDoc::NormalClass00PK]t !!uri-i.rinu[PK]w[0YInvokeMethod18Mixin/cdesc-InvokeMethod18Mixin.rinu[PK]$th)) Qalive%3f-i.rinu[PK]Fdefault_safe_level-c.rinu[PK];BLRR to_obj-i.rinu[PK]f֏AA Hto_id-i.rinu[PK]J=jj insecure_method%3f-i.rinu[PK]*;(11t stop_service-i.rinu[PK]:m default_argc_limit-c.rinu[PK] new-c.rinu[PK]3%2. any_to_s-i.rinu[PK]䝂88run-i.rinu[PK]G1main_loop-i.rinu[PK]|^00  config-i.rinu[PK] F٢y!verbose%3d-c.rinu[PK] DD Z#verbose-c.rinu[PK]珞 $front-i.rinu[PK]*ˑ&default_acl-c.rinu[PK]p (safe_level-i.rinu[PK]sbP *verbose-i.rinu[PK]HR,default_id_conv-c.rinu[PK]=.default_load_limit-c.rinu[PK]566 0here%3f-i.rinu[PK] ^TT1cdesc-DRbServer.rinu[PK]p 9thread-i.rinu[PK] : ~;check_insecure_method-i.rinu[PK]>verbose%3d-i.rinu[PKs@