SSF.OS.TCP
Class Instrumentation

java.lang.Object
  |
  +--SSF.OS.TCP.Instrumentation

public class Instrumentation
extends java.lang.Object

Instrumentation class is used to monitor the internal state of one TCP session at one end of the connection and to write data to a dumpfile.


Field Summary
static int EVT_CLOSE
           
static int EVT_FASTTICK
           
static int EVT_OPEN
          event type
static int EVT_PKRCV
           
static int EVT_PKSND
           
static int EVT_SLOWTICK
           
static int EVT_SOCKREAD
           
static int EVT_SOCKWRITE
           
static int EVT_STATE
           
 
Constructor Summary
Instrumentation(tcpSessionMaster tcpms, tcpSession tcp)
           
 
Method Summary
 void printInitialValue()
          list the values of all parameters used by one session at initaliztion
 void printRcvWndParam(long time)
          Print current receive window parameters of TCP session
 void printSendWndParam(long time)
          Print current send window parameters of TCP session
 java.lang.String showSubState()
           
 void showTcpState()
          Show the current transition state of the TCP session
 void takeSnapshot(float time, int evtType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

EVT_OPEN

public static final int EVT_OPEN
event type

See Also:
Constant Field Values

EVT_CLOSE

public static final int EVT_CLOSE
See Also:
Constant Field Values

EVT_PKSND

public static final int EVT_PKSND
See Also:
Constant Field Values

EVT_PKRCV

public static final int EVT_PKRCV
See Also:
Constant Field Values

EVT_SLOWTICK

public static final int EVT_SLOWTICK
See Also:
Constant Field Values

EVT_FASTTICK

public static final int EVT_FASTTICK
See Also:
Constant Field Values

EVT_SOCKWRITE

public static final int EVT_SOCKWRITE
See Also:
Constant Field Values

EVT_SOCKREAD

public static final int EVT_SOCKREAD
See Also:
Constant Field Values

EVT_STATE

public static final int EVT_STATE
See Also:
Constant Field Values
Constructor Detail

Instrumentation

public Instrumentation(tcpSessionMaster tcpms,
                       tcpSession tcp)
Parameters:
tcp - tcpSession object represent one TCP session
Method Detail

showTcpState

public void showTcpState()
Show the current transition state of the TCP session


printInitialValue

public void printInitialValue()
list the values of all parameters used by one session at initaliztion


printSendWndParam

public void printSendWndParam(long time)
Print current send window parameters of TCP session


printRcvWndParam

public void printRcvWndParam(long time)
Print current receive window parameters of TCP session


showSubState

public java.lang.String showSubState()

takeSnapshot

public void takeSnapshot(float time,
                         int evtType)