D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby18
/
share
/
ri
/
1.8
/
system
/
DRb
/
DRbServer
/
Filename :
cdesc-DRbServer.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The configuration of this DRbServer name: config rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The front object of the DRbServer. - !ruby/struct:SM::Flow::P body: This object receives remote method calls made on the server's URI alone, with an object id. name: front rw: R - !ruby/object:RI::Attribute comment: name: safe_level rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The main thread of this DRbServer. - !ruby/struct:SM::Flow::P body: This is the thread that listens for and accepts connections from clients, not that handles each client's request-response session. name: thread rw: R - !ruby/object:RI::Attribute comment: - !ruby/struct:SM::Flow::P body: The URI of this DRbServer. name: uri rw: R class_methods: - !ruby/object:RI::MethodSummary name: default_acl - !ruby/object:RI::MethodSummary name: default_argc_limit - !ruby/object:RI::MethodSummary name: default_id_conv - !ruby/object:RI::MethodSummary name: default_load_limit - !ruby/object:RI::MethodSummary name: default_safe_level - !ruby/object:RI::MethodSummary name: new - !ruby/object:RI::MethodSummary name: verbose - !ruby/object:RI::MethodSummary name: verbose= comment: - !ruby/struct:SM::Flow::P body: Class representing a drb server instance. - !ruby/struct:SM::Flow::P body: A DRbServer must be running in the local process before any incoming dRuby calls can be accepted, or any local objects can be passed as dRuby references to remote processes, even if those local objects are never actually called remotely. You do not need to start a DRbServer in the local process if you are only making outgoing dRuby calls passing marshalled parameters. - !ruby/struct:SM::Flow::P body: Unless multiple servers are being used, the local DRbServer is normally started by calling DRb.start_service. constants: - !ruby/object:RI::Constant comment: - !ruby/struct:SM::Flow::P body: List of insecure methods. - !ruby/struct:SM::Flow::P body: These methods are not callable via dRuby. name: INSECURE_METHOD value: "[ :__send__" full_name: DRb::DRbServer includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: alive? - !ruby/object:RI::MethodSummary name: any_to_s - !ruby/object:RI::MethodSummary name: check_insecure_method - !ruby/object:RI::MethodSummary name: insecure_method? - !ruby/object:RI::MethodSummary name: kill_sub_thread - !ruby/object:RI::MethodSummary name: main_loop - !ruby/object:RI::MethodSummary name: run - !ruby/object:RI::MethodSummary name: stop_service - !ruby/object:RI::MethodSummary name: to_id - !ruby/object:RI::MethodSummary name: to_obj - !ruby/object:RI::MethodSummary name: verbose - !ruby/object:RI::MethodSummary name: verbose= name: DRbServer superclass: Object