Class sfclasses.TcpConnection
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sfclasses.TcpConnection

java.lang.Object
   |
   +----sfclasses.TcpConnection

public class TcpConnection
extends Object
Objects of this class represent TCP connections. They are used to display the TCP connection list of a firewall.

Variable Index

 o allpsource
 o created
 o created_jiffies
 o fromaddr
 o fromport
 o GREEN
 o id
 o key
 o lastuse
 o RED
 o SF_TCP_ACCEPT_SYN
 o SF_TCP_CLIENT_ACK
 o SF_TCP_CLIENT_FIN
 o SF_TCP_CLIENT_SYN
 o SF_TCP_ESTABLISHED3
 o SF_TCP_ESTABLISHEDFTP
 o SF_TCP_FTP
 o SF_TCP_SERVER_FIN
 o SF_TCP_SERVER_SYN
 o SF_TCP_SYN_ACK
 o SF_TCP_TERMINATED
 o state
 o timeout
 o toaddr
 o toport
 o YELLOW

Constructor Index

 o TcpConnection()

Method Index

 o getString(int)
This method returns a string to display in the given column of the TCP connection list.
 o stateColor()
This method returns the color of the ball that is drawn to indicate the state of the connection.

Variables

 o RED
  public final static int RED
 o YELLOW
  public final static int YELLOW
 o GREEN
  public final static int GREEN
 o id
  public int id
 o key
  public int key
 o created_jiffies
  public int created_jiffies
 o created
  public Date created
 o lastuse
  public Date lastuse
 o timeout
  public Date timeout
 o fromaddr
  public byte fromaddr[]
 o fromport
  public int fromport
 o toaddr
  public byte toaddr[]
 o toport
  public int toport
 o allpsource
  public boolean allpsource
 o state
  public int state
 o SF_TCP_ACCEPT_SYN
  public final static int SF_TCP_ACCEPT_SYN
 o SF_TCP_CLIENT_SYN
  public final static int SF_TCP_CLIENT_SYN
 o SF_TCP_SERVER_SYN
  public final static int SF_TCP_SERVER_SYN
 o SF_TCP_SYN_ACK
  public final static int SF_TCP_SYN_ACK
 o SF_TCP_CLIENT_ACK
  public final static int SF_TCP_CLIENT_ACK
 o SF_TCP_ESTABLISHED3
  public final static int SF_TCP_ESTABLISHED3
 o SF_TCP_FTP
  public final static int SF_TCP_FTP
 o SF_TCP_ESTABLISHEDFTP
  public final static int SF_TCP_ESTABLISHEDFTP
 o SF_TCP_CLIENT_FIN
  public final static int SF_TCP_CLIENT_FIN
 o SF_TCP_SERVER_FIN
  public final static int SF_TCP_SERVER_FIN
 o SF_TCP_TERMINATED
  public final static int SF_TCP_TERMINATED

Constructors

 o TcpConnection
  public TcpConnection()

Methods

 o getString
  public String getString(int col)
This method returns a string to display in the given column of the TCP connection list.
Parameters:
col - Column
Returns:
String to display
 o stateColor
  public int stateColor()
This method returns the color of the ball that is drawn to indicate the state of the connection.
Returns:
RED, YELLOW or GREEN

All Packages  Class Hierarchy  This Package  Previous  Next  Index