$35 GRAYBYTE WORDPRESS FILE MANAGER $52

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.23
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/alt/ruby22/lib64/ruby/2.2.0/drb/

HOME
Current File : /opt/alt/ruby22/lib64/ruby/2.2.0/drb//extserv.rb
=begin
 external service
        Copyright (c) 2000,2002 Masatoshi SEKI
=end

require 'drb/drb'
require 'monitor'

module DRb
  class ExtServ
    include MonitorMixin
    include DRbUndumped

    def initialize(there, name, server=nil)
      super()
      @server = server || DRb::primary_server
      @name = name
      ro = DRbObject.new(nil, there)
      synchronize do
        @invoker = ro.regist(name, DRbObject.new(self, @server.uri))
      end
    end
    attr_reader :server

    def front
      DRbObject.new(nil, @server.uri)
    end

    def stop_service
      synchronize do
        @invoker.unregist(@name)
        server = @server
        @server = nil
        server.stop_service
        true
      end
    end

    def alive?
      @server ? @server.alive? : false
    end
  end
end


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.53 PM
root / root
0755
acl.rb
4.326 KB
27 Aug 2014 12.21 PM
root / linksafe
0644
drb.rb
56.321 KB
21 Sep 2014 5.06 PM
root / linksafe
0644
eq.rb
0.238 KB
25 Jan 2013 3.25 AM
root / linksafe
0644
extserv.rb
0.781 KB
22 Jul 2014 7.06 PM
root / linksafe
0644
extservm.rb
1.71 KB
22 Apr 2012 11.35 AM
root / linksafe
0644
gw.rb
2.97 KB
25 Jan 2013 3.25 AM
root / linksafe
0644
invokemethod.rb
0.729 KB
23 Jul 2013 12.28 AM
root / linksafe
0644
observer.rb
0.621 KB
25 Jan 2013 3.25 AM
root / linksafe
0644
ssl.rb
11.547 KB
21 Sep 2014 5.06 PM
root / linksafe
0644
timeridconv.rb
2.024 KB
16 Aug 2016 5.53 AM
root / linksafe
0644
unix.rb
2.773 KB
21 Sep 2014 5.06 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF