Class: Msf::Ui::Driver
- Inherits:
-
Object
- Object
- Msf::Ui::Driver
- 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
Instance Method Summary collapse
-
#cleanup ⇒ Object
Cleans up any resources associated with the UI driver.
-
#initialize ⇒ Driver
constructor
A new instance of Driver.
-
#run ⇒ Object
Executes the user interface, optionally in an asynchronous fashion.
-
#stop ⇒ Object
Stops executing the user interface.
Constructor Details
#initialize ⇒ Driver
Returns a new instance of Driver.
13 14 |
# File 'lib/msf/ui/driver.rb', line 13 def initialize end |
Instance Method Details
#cleanup ⇒ Object
Cleans up any resources associated with the UI driver.
32 33 |
# File 'lib/msf/ui/driver.rb', line 32 def cleanup end |
#run ⇒ Object
Executes the user interface, optionally in an asynchronous fashion.
19 20 21 |
# File 'lib/msf/ui/driver.rb', line 19 def run raise NotImplementedError end |
#stop ⇒ Object
Stops executing the user interface.
26 27 |
# File 'lib/msf/ui/driver.rb', line 26 def stop end |