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.
-
allpsource
-
-
created
-
-
created_jiffies
-
-
fromaddr
-
-
fromport
-
-
GREEN
-
-
id
-
-
key
-
-
lastuse
-
-
RED
-
-
SF_TCP_ACCEPT_SYN
-
-
SF_TCP_CLIENT_ACK
-
-
SF_TCP_CLIENT_FIN
-
-
SF_TCP_CLIENT_SYN
-
-
SF_TCP_ESTABLISHED3
-
-
SF_TCP_ESTABLISHEDFTP
-
-
SF_TCP_FTP
-
-
SF_TCP_SERVER_FIN
-
-
SF_TCP_SERVER_SYN
-
-
SF_TCP_SYN_ACK
-
-
SF_TCP_TERMINATED
-
-
state
-
-
timeout
-
-
toaddr
-
-
toport
-
-
YELLOW
-
-
TcpConnection()
-
-
getString(int)
- This method returns a string to display in the given column of
the TCP connection list.
-
stateColor()
- This method returns the color of the ball that is drawn to
indicate the state of the connection.
RED
public final static int RED
YELLOW
public final static int YELLOW
GREEN
public final static int GREEN
id
public int id
key
public int key
created_jiffies
public int created_jiffies
created
public Date created
lastuse
public Date lastuse
timeout
public Date timeout
fromaddr
public byte fromaddr[]
fromport
public int fromport
toaddr
public byte toaddr[]
toport
public int toport
allpsource
public boolean allpsource
state
public int state
SF_TCP_ACCEPT_SYN
public final static int SF_TCP_ACCEPT_SYN
SF_TCP_CLIENT_SYN
public final static int SF_TCP_CLIENT_SYN
SF_TCP_SERVER_SYN
public final static int SF_TCP_SERVER_SYN
SF_TCP_SYN_ACK
public final static int SF_TCP_SYN_ACK
SF_TCP_CLIENT_ACK
public final static int SF_TCP_CLIENT_ACK
SF_TCP_ESTABLISHED3
public final static int SF_TCP_ESTABLISHED3
SF_TCP_FTP
public final static int SF_TCP_FTP
SF_TCP_ESTABLISHEDFTP
public final static int SF_TCP_ESTABLISHEDFTP
SF_TCP_CLIENT_FIN
public final static int SF_TCP_CLIENT_FIN
SF_TCP_SERVER_FIN
public final static int SF_TCP_SERVER_FIN
SF_TCP_TERMINATED
public final static int SF_TCP_TERMINATED
TcpConnection
public TcpConnection()
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
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