|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.clackrouter.component.extension.TCPMonitor.TCPFlow
public class TCPMonitor.TCPFlow
Helper class to contain all information about a single TCP flow.
Relies on the TCPStateAnalyzer
class.
Field Summary | |
---|---|
java.util.ArrayList |
listeners
List of classes implementing TCPMonitor.TCPFlowListener and interested in this flow |
TCPStateAnalyzer |
mStateA
Represents the state for either TCP connection end-point |
TCPStateAnalyzer |
mStateB
Represents the state for either TCP connection end-point |
long |
startTime
|
long |
updated
|
Constructor Summary | |
---|---|
TCPMonitor.TCPFlow(java.net.InetAddress a_addr,
int a_port,
java.net.InetAddress b_addr,
int b_port)
|
Method Summary | |
---|---|
void |
fireListeners()
|
TCPStateAnalyzer |
getOtherTCPStateAnalyzer(TCPStateAnalyzer me)
Return the TCPStateAnalyzer object in this pair that is not the one passed in |
void |
registerListener(TCPMonitor.TCPFlowListener l)
|
void |
updateFlow(VNSTCPPacket tcppacket)
Main method, used to update the TCPStateAnalyzers with information from a new packet. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public TCPStateAnalyzer mStateA
public TCPStateAnalyzer mStateB
public java.util.ArrayList listeners
TCPMonitor.TCPFlowListener
and interested in this flow
public long startTime
public long updated
Constructor Detail |
---|
public TCPMonitor.TCPFlow(java.net.InetAddress a_addr, int a_port, java.net.InetAddress b_addr, int b_port)
Method Detail |
---|
public TCPStateAnalyzer getOtherTCPStateAnalyzer(TCPStateAnalyzer me)
public void updateFlow(VNSTCPPacket tcppacket)
public void registerListener(TCPMonitor.TCPFlowListener l)
public void fireListeners()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |