Sha256: 791980913b9610fc90a5c902980aa9434ec21a8272e4342e516dd09d9ee223a9

Contents?: true

Size: 404 Bytes

Versions: 24

Compression:

Stored size: 404 Bytes

Contents

module DeepTest
  module Distributed
    class DRbClientConnectionInfo
      attr_reader :address

      def initialize
        info = Thread.current['DRb']
        raise "No DRb client found" unless info && info['client']
        peeraddr = info['client'].peeraddr
        DeepTest.logger.debug("DRbClientConnection info: #{peeraddr.inspect}")
        @address = peeraddr[3]
      end
    end
  end
end

Version data entries

24 entries across 24 versions & 4 rubygems

Version Path
jason-o-matic-deep_test-1.2.2.1 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.10 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.11 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.12 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.13 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.14 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.2 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.3 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.4 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.5 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.6 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.7 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.8 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.9 lib/deep_test/distributed/drb_client_connection_info.rb
jperkins-deep_test-1.2.2 lib/deep_test/distributed/drb_client_connection_info.rb
jason-o-matic-deep_test-1.2.2.15 lib/deep_test/distributed/drb_client_connection_info.rb
jstorimer-deep-test-1.4.0 lib/deep_test/distributed/drb_client_connection_info.rb
jstorimer-deep-test-1.3.0 lib/deep_test/distributed/drb_client_connection_info.rb
jstorimer-deep-test-1.2.0 lib/deep_test/distributed/drb_client_connection_info.rb
jstorimer-deep-test-1.1.0 lib/deep_test/distributed/drb_client_connection_info.rb