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

#address, #clients, #handler, #port

Instance Method Summary collapse

Methods inherited from Base

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

Constructor Details

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

Returns a new instance of RWSimple.



382
383
384
385
# File 'lib/tftp/tftp.rb', line 382

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