|
SourceForge Jpcap | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.ultrametrics.console.TestConsole
net.sourceforge.jpcap.client.CaptureConsole
public class CaptureConsole
Text console for controlling packet capture.
Constructor Summary | |
---|---|
CaptureConsole(CaptureTool captureTool)
Construct a new capture console. |
Method Summary | |
---|---|
String |
command_capture(String[] args)
Capture packets. |
String |
command_clear(String[] args)
Clear the packet view frame. |
String |
command_device(String[] args)
Set the device name. |
String |
command_filter(String[] args)
Set the filter expression. |
String |
command_hclear(String[] args)
Clear the history buffer. |
protected String |
command_help(Collection suppressed)
Generate help for commands specific to this console. |
String |
command_history(String[] args)
Show the history buffer contents. |
String |
command_hsize(String[] args)
Resize the history buffer. |
String |
command_mode(String[] args)
Set the capture mode. |
String |
command_snaplen(String[] args)
Set the capture data length. |
String |
command_status()
show the status. |
String |
command_timeout(String[] args)
Set the capture timeout in ms. |
String |
command_ui(String[] args)
Toggle the ui. |
String |
doCommand(String command,
String[] args)
Command processor. |
static void |
main(String[] args)
Tester. |
Methods inherited from class net.ultrametrics.console.TestConsole |
---|
command_exec, command_exit, command_gc, command_halt, command_itrace, command_lload, command_memory, command_mtrace, command_properties |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CaptureConsole(CaptureTool captureTool)
captureTool
- the capture tool service handle.Method Detail |
---|
public String doCommand(String command, String[] args)
doCommand
in interface com.fooware.util.CommandLineable
doCommand
in class net.ultrametrics.console.TestConsole
command
- the command to execute.args
- optional and required arguments to the provided command.public String command_capture(String[] args)
public String command_clear(String[] args)
public String command_device(String[] args)
public String command_filter(String[] args)
public String command_hclear(String[] args)
public String command_history(String[] args)
public String command_hsize(String[] args)
public String command_mode(String[] args)
public String command_snaplen(String[] args)
public String command_status()
public String command_timeout(String[] args)
public String command_ui(String[] args)
protected String command_help(Collection suppressed)
command_help
in class net.ultrametrics.console.TestConsole
suppressed
- a collection of commands handled by child consoles.public static void main(String[] args)
|
Copyright © Patrick Charles & Jonas Lehmann, 2001; Esmond Pitt, 2008. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |