net.clackrouter.gui.tcp
Class TCPStateAnalyzer
java.lang.Object
net.clackrouter.gui.tcp.TCPStateAnalyzer
public class TCPStateAnalyzer
- extends java.lang.Object
Used to analyze a TCP flow that is going through the router.
Used by a TCP monitor, one per flow, to keep track of the
behavior of a flow.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
seq_num
public long seq_num
ack_num
public long ack_num
syn
public boolean syn
fin
public boolean fin
ack
public boolean ack
TCPStateAnalyzer
public TCPStateAnalyzer(TCPMonitor.TCPFlow parent,
java.net.InetAddress myAddr,
int port)
getPort
public int getPort()
getAddress
public java.net.InetAddress getAddress()
getHistory
public java.lang.String getHistory()
getState
public java.lang.String getState()
getRole
public java.lang.String getRole()
setRole
public void setRole(java.lang.String r)
getLastPacketSize
public int getLastPacketSize()
getLastDataSize
public int getLastDataSize()
getTotalBytesAcked
public long getTotalBytesAcked()
isRetrans
public boolean isRetrans()
getRecvWindow
public int getRecvWindow()
getDuplicateSends
public int getDuplicateSends()
getPacketsSent
public int getPacketsSent()
getPacketSeqCount
public int getPacketSeqCount()
getBytesOutStanding
public int getBytesOutStanding()
analyzePacket
public void analyzePacket(VNSTCPPacket update)
analyzeFlowState
public boolean analyzeFlowState(VNSTCPPacket update)
getControlString
public java.lang.String getControlString()