|
|||||||||
| Home >> All >> [ Interface overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
Interface
Class VisualipMediator

java.lang.ObjectInterface.VisualipMediator
- public class VisualipMediator
- extends java.lang.Object
/**
| Nested Class Summary | |
(package private) class |
VisualipMediator.UpdateStatisticsTask
|
| Field Summary | |
private java.io.File |
current_file
|
private VisualipGeneral |
general
|
private VisualipGraphs |
graphs
|
private PacketF.PacketSequence |
packet_sequence
|
private PacketTableModel |
packet_table_model
|
private VisualipProgress |
progress
|
private Misc.SATTableModel |
sat_table_model
|
private java.util.Timer |
update_statistics_timer
|
private VisualipJFrame |
visualip_jframe
|
private VisualipPopUp |
visualip_popup
|
| Constructor Summary | |
VisualipMediator(VisualipJFrame visualip_jframe)
Creates a new instance of VisualipMediator |
|
| Method Summary | |
VisualipProgress |
createProgressBar()
create progress bar |
void |
displayPacketStatisticsPlot()
|
void |
displayVisualipReport()
|
java.io.File |
getCurrentFile()
returns the current file |
VisualipGeneral |
getGeneral()
get the general tab |
VisualipGraphs |
getGraphs()
gets visualip graphs |
PacketF.Packet |
getPacket(int index)
get a certain packet |
PacketTableModel |
getPacketTableModel()
returns PacketTableModel |
int |
getParameterK()
gets parameter k |
long |
getPcapCurrentFilePosition()
calls the method getPcapCurrentFilePosition in PacketSequence |
long |
getPcapFileTotalSize()
calls the method getPcapTotalFileSize in PacketSequence |
long |
getSATFileCRC()
|
java.lang.String |
getSATFileName()
|
long |
getSATFileTotalSize()
calls the method getSATFileTotalSize in PacketSequence |
int |
getSATNoFlows()
|
int |
getSATSegmentSize()
|
Misc.SATTableModel |
getSATTableModel()
returns SATTableModel |
long |
getTimeDataPacket(int start_time)
gets the time of the data packet in SATTableModel |
VisualipJFrame |
getVisualipJFrame()
Getter for the visualip frame |
boolean |
isFileOpened()
|
void |
loadFile(java.io.File current_file)
loads a new file |
void |
plotThroughputGraph()
plots the throughput graph |
void |
saveToFile(java.io.File file)
|
void |
setVisualipJFrame(VisualipJFrame visualip_jframe)
|
void |
showVisualipInfo()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
visualip_jframe
private VisualipJFrame visualip_jframe
general
private VisualipGeneral general
graphs
private VisualipGraphs graphs
progress
private VisualipProgress progress
visualip_popup
private VisualipPopUp visualip_popup
packet_table_model
private PacketTableModel packet_table_model
packet_sequence
private PacketF.PacketSequence packet_sequence
sat_table_model
private Misc.SATTableModel sat_table_model
current_file
private java.io.File current_file
update_statistics_timer
private java.util.Timer update_statistics_timer
| Constructor Detail |
VisualipMediator
public VisualipMediator(VisualipJFrame visualip_jframe)
- Creates a new instance of VisualipMediator
| Method Detail |
getGeneral
public VisualipGeneral getGeneral()
- get the general tab
setVisualipJFrame
public void setVisualipJFrame(VisualipJFrame visualip_jframe)
getVisualipJFrame
public VisualipJFrame getVisualipJFrame()
- Getter for the visualip frame
getPacket
public PacketF.Packet getPacket(int index)
- get a certain packet
getParameterK
public int getParameterK()
- gets parameter k
getTimeDataPacket
public long getTimeDataPacket(int start_time)
- gets the time of the data packet in SATTableModel
getGraphs
public VisualipGraphs getGraphs()
- gets visualip graphs
plotThroughputGraph
public void plotThroughputGraph()
throws Exceptions.NoMorePacketsException
- plots the throughput graph
createProgressBar
public VisualipProgress createProgressBar()
- create progress bar
showVisualipInfo
public void showVisualipInfo()
getPacketTableModel
public PacketTableModel getPacketTableModel()
- returns PacketTableModel
getSATTableModel
public Misc.SATTableModel getSATTableModel()
- returns SATTableModel
getSATFileName
public java.lang.String getSATFileName()
getSATSegmentSize
public int getSATSegmentSize()
getSATNoFlows
public int getSATNoFlows()
getSATFileCRC
public long getSATFileCRC()
getCurrentFile
public java.io.File getCurrentFile()
- returns the current file
loadFile
public void loadFile(java.io.File current_file) throws Exceptions.InvalidTcpdumpFileException
- loads a new file
getPcapFileTotalSize
public long getPcapFileTotalSize()
- calls the method getPcapTotalFileSize in PacketSequence
getPcapCurrentFilePosition
public long getPcapCurrentFilePosition()
- calls the method getPcapCurrentFilePosition in PacketSequence
getSATFileTotalSize
public long getSATFileTotalSize()
- calls the method getSATFileTotalSize in PacketSequence
isFileOpened
public boolean isFileOpened()
saveToFile
public void saveToFile(java.io.File file) throws java.io.IOException
displayPacketStatisticsPlot
public void displayPacketStatisticsPlot()
displayVisualipReport
public void displayVisualipReport()
|
|||||||||
| Home >> All >> [ Interface overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
Interface.VisualipMediator