class Spring::WorkerChannel

Attributes

to_io[R]

Public Class Methods

new(socket) click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 41
def initialize(socket)
  @to_io = socket
end
pair() click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 30
def self.pair
  a, b = UNIXSocket.pair
  [new(a), IOWrapper.new(b)]
end
remote_endpoint() click to toggle source
# File lib/spring-jruby/io_helpers.rb, line 35
def self.remote_endpoint
  UNIXSocket.for_fd(3)
end