Class: TFTP::Server::RWSimple

Inherits:
Base
  • Object
show all
Defined in:
lib/tftp/tftp.rb

Overview

Basic read-write TFTP server.

This is what most other TFTPd implementations give you.

Instance Attribute Summary

Attributes inherited from Base

#clients, #handler, #host, #port

Instance Method Summary collapse

Methods inherited from Base

#get_tid, #log, #run!, #stop

Constructor Details

#initialize(path, opts = {}) ⇒ RWSimple


365
366
367
368
# File 'lib/tftp/tftp.rb', line 365

def initialize(path, opts = {})
  handler = Handler::RWSimple.new(path, opts)
  super(handler, opts)
end