class RseProxy::Server
Public Class Methods
new(host: 'rse.home', port: '61000', servers: [], log: nil, spshost: 'sps.home')
click to toggle source
# File lib/rse.rb, line 182 def initialize(host: 'rse.home', port: '61000', servers: [], log: nil, spshost: 'sps.home') @host, @port, @servers, @log = host, port, servers, log @spshost = spshost end
Public Instance Methods
start()
click to toggle source
# File lib/rse.rb, line 190 def start() DRb.start_service "druby://#{@host}:#{@port}", PassThru.new(@servers, log: @log) DRb.thread.join end