verinec.importer
Class ImporterModule

java.lang.Object
  extended by verinec.importer.ImporterModule
All Implemented Interfaces:
IVerinecModule

public class ImporterModule
extends Object
implements IVerinecModule

Importer module, integrating the sniffer and the parser into Verinec.

Author:
david.buchmann at unifr.ch

Nested Class Summary
(package private)  class ImporterModule.AnalysisAction
          Action to show analysis dialog.
(package private)  class ImporterModule.ParserAction
          Action to show parser dialog.
(package private)  class ImporterModule.PortscanAction
          Action for node context menu to show port scan dialog.
(package private)  class ImporterModule.ResultWaiter
           
 
Field Summary
private  VerinecStudio analyser
           
private  JMenu menuImporter
           
 
Constructor Summary
ImporterModule()
           
 
Method Summary
 void load(VerinecStudio parent)
          Load the module into the application GUI.
 String toString()
          Return the name of the module.
 void unload()
          Unload the module.
 void updateComponent(NwComponent c)
          Adds context menues depending on the types.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

analyser

private VerinecStudio analyser

menuImporter

private JMenu menuImporter
Constructor Detail

ImporterModule

public ImporterModule()
Method Detail

load

public void load(VerinecStudio parent)
Load the module into the application GUI.

Specified by:
load in interface IVerinecModule
Parameters:
parent - The main application.

updateComponent

public void updateComponent(NwComponent c)
Adds context menues depending on the types. When the module is loading, this method is called for each NwComponent to update the component.

Parameters:
c - The component to update.

unload

public void unload()
Unload the module.

Specified by:
unload in interface IVerinecModule

toString

public String toString()
Return the name of the module.

Specified by:
toString in interface IVerinecModule
Overrides:
toString in class Object
Returns:
Module Name.

Copyright © 2005 Verinec, DIUF