Class: NetConfGen::Server::RWSimple

Inherits:
Base
  • Object
show all
Defined in:
lib/netconfgen/netconfgen.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

#run!, #stop

Constructor Details

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

Returns a new instance of RWSimple.



546
547
548
549
# File 'lib/netconfgen/netconfgen.rb', line 546

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