Class: Msf::Ui::Driver

Inherits:
Object
  • Object
show all
Defined in:
lib/msf/ui/driver.rb

Overview

The driver class is an abstract base class that is meant to provide a very general set of methods for 'driving' a user interface.

Direct Known Subclasses

Console::Driver, Web::Driver

Instance Method Summary collapse

Constructor Details

#initializeDriver


13
14
# File 'lib/msf/ui/driver.rb', line 13

def initialize
end

Instance Method Details

#cleanupObject

Cleans up any resources associated with the UI driver.


32
33
# File 'lib/msf/ui/driver.rb', line 32

def cleanup
end

#runObject

Executes the user interface, optionally in an asynchronous fashion.

Raises:

  • (NotImplementedError)

19
20
21
# File 'lib/msf/ui/driver.rb', line 19

def run
  raise NotImplementedError
end

#stopObject

Stops executing the user interface.


26
27
# File 'lib/msf/ui/driver.rb', line 26

def stop
end