# File lib/net/ssh/connection/channel.rb, line 310 310: def process 311: @on_process.call(self) if @on_process 312: enqueue_pending_output 313: 314: if @eof and not @sent_eof and output.empty? 315: connection.send_message(Buffer.from(:byte, CHANNEL_EOF, :long, remote_id)) 316: @sent_eof = true 317: end 318: end