Module: OneApm::Support::ForkedProcessChannel

Extended by:
ForkedProcessChannel
Included in:
ForkedProcessChannel
Defined in:
lib/one_apm/support/forked_process_channel.rb

Defined Under Namespace

Classes: Listener, Pipe

Instance Method Summary collapse

Instance Method Details

#channelsObject



14
15
16
# File 'lib/one_apm/support/forked_process_channel.rb', line 14

def channels
  listener.pipes
end

#listenerObject



18
19
20
# File 'lib/one_apm/support/forked_process_channel.rb', line 18

def listener
  @listener ||= Listener.new
end

#register_report_channel(id) ⇒ Object



10
11
12
# File 'lib/one_apm/support/forked_process_channel.rb', line 10

def register_report_channel(id)
  listener.register_pipe(id)
end