|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ultrametrics.console.TestConsole net.sourceforge.jpcap.client.CaptureConsole
Text console for controlling packet capture.
Constructor Summary | |
CaptureConsole(CaptureTool captureTool)
Construct a new capture console. |
Method Summary | |
java.lang.String |
command_capture(java.lang.String[] args)
Capture packets. |
java.lang.String |
command_clear(java.lang.String[] args)
Clear the packet view frame. |
java.lang.String |
command_device(java.lang.String[] args)
Set the device name. |
java.lang.String |
command_filter(java.lang.String[] args)
Set the filter expression. |
java.lang.String |
command_hclear(java.lang.String[] args)
Clear the history buffer. |
protected java.lang.String |
command_help(java.util.Collection suppressed)
Generate help for commands specific to this console. |
java.lang.String |
command_history(java.lang.String[] args)
Show the history buffer contents. |
java.lang.String |
command_hsize(java.lang.String[] args)
Resize the history buffer. |
java.lang.String |
command_mode(java.lang.String[] args)
Set the capture mode. |
java.lang.String |
command_snaplen(java.lang.String[] args)
Set the capture data length. |
java.lang.String |
command_status()
show the status. |
java.lang.String |
command_timeout(java.lang.String[] args)
Set the capture timeout in ms. |
java.lang.String |
command_ui(java.lang.String[] args)
Toggle the ui. |
java.lang.String |
doCommand(java.lang.String command,
java.lang.String[] args)
Command processor. |
static void |
main(java.lang.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 java.lang.String doCommand(java.lang.String command, java.lang.String[] args)
command
- the command to execute.args
- optional and required arguments to the provided command.public java.lang.String command_capture(java.lang.String[] args)
public java.lang.String command_clear(java.lang.String[] args)
public java.lang.String command_device(java.lang.String[] args)
public java.lang.String command_filter(java.lang.String[] args)
public java.lang.String command_hclear(java.lang.String[] args)
public java.lang.String command_history(java.lang.String[] args)
public java.lang.String command_hsize(java.lang.String[] args)
public java.lang.String command_mode(java.lang.String[] args)
public java.lang.String command_snaplen(java.lang.String[] args)
public java.lang.String command_status()
public java.lang.String command_timeout(java.lang.String[] args)
public java.lang.String command_ui(java.lang.String[] args)
protected java.lang.String command_help(java.util.Collection suppressed)
suppressed
- a collection of commands handled by child consoles.public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |