|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.fenyo.gnetwatch.Main
public class Main
This class is dedicated to maintain main operations.
| Field Summary | |
|---|---|
private CaptureManager |
capture_mgr
|
private Config |
config
|
private GUI |
gui
|
private CaptureManager.HandlePacket |
handler
|
private static Log |
log
|
| Constructor Summary | |
|---|---|
Main(Config config,
CaptureManager capture_mgr)
Constructor. |
|
| Method Summary | |
|---|---|
void |
setGUI(GUI gui)
Defines the GUI instance. |
void |
startDiscover()
Ask to spawn tethereal instances and add targets for new discovered IP targets. |
void |
stopDiscover()
Ask to kill tethereal instances if this is the last listener. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static Log log
private final Config config
private GUI gui
private final CaptureManager capture_mgr
private CaptureManager.HandlePacket handler
| Constructor Detail |
|---|
public Main(Config config,
CaptureManager capture_mgr)
config - configuration.| Method Detail |
|---|
public void setGUI(GUI gui)
GUI - gui.public void startDiscover()
none. - public void stopDiscover()
none. -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||