isc.sensor
Class SessionBean

java.lang.Object
  extended by isc.sensor.SessionBean

public class SessionBean
extends java.lang.Object

SessionBean holds the summary and flow summary of a client/server communication

Author:
John Casey
Project: DNA_sensor - Aug 12, 2005
TODO: process retry packets

Field Summary
 java.lang.String clientAddr
          client IP address
 java.lang.Integer clientPort
          client port
 java.lang.Long dataRecv
          Total bytes recieved in this session
 java.lang.Long dataSent
          Total bytes sent in this session
 java.lang.Long duration
          duration in milliseconds of the session
 PacketSumBean flow1
          The client->server summary flow
 PacketSumBean flow2
          The server->client summary flow
 java.lang.Long packetsRecv
          Total number of packets recieved in this session
 java.lang.Long packetsSent
          Total number of packet sent in this session
 java.lang.Long retryPktRecv
          Total retry packets recieved in this session
 java.lang.Long retryPktSent
          Total retry packet sent in this session
 java.lang.String serverAddr
          server IP address
 java.lang.Integer serverPort
          server port
 java.lang.StringBuffer skey
          The session key
 java.sql.Timestamp startTime
          Start time of the session
 java.lang.String status
          Session closed status (open/close).
 java.lang.String svcName
          Application layer 7 protocol service name (see: /etc/services)
 
Constructor Summary
SessionBean()
          Create a new empty Session Bean
SessionBean(java.lang.StringBuffer Key)
          Create an empty session bean with a given session key
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

skey

public java.lang.StringBuffer skey
The session key


startTime

public java.sql.Timestamp startTime
Start time of the session


duration

public java.lang.Long duration
duration in milliseconds of the session


clientAddr

public java.lang.String clientAddr
client IP address


clientPort

public java.lang.Integer clientPort
client port


serverAddr

public java.lang.String serverAddr
server IP address


serverPort

public java.lang.Integer serverPort
server port


status

public java.lang.String status
Session closed status (open/close). Was the session timed out by the session processer (open) or did it see a proper close (close)


svcName

public java.lang.String svcName
Application layer 7 protocol service name (see: /etc/services)


packetsSent

public java.lang.Long packetsSent
Total number of packet sent in this session


packetsRecv

public java.lang.Long packetsRecv
Total number of packets recieved in this session


dataSent

public java.lang.Long dataSent
Total bytes sent in this session


dataRecv

public java.lang.Long dataRecv
Total bytes recieved in this session


retryPktSent

public java.lang.Long retryPktSent
Total retry packet sent in this session


retryPktRecv

public java.lang.Long retryPktRecv
Total retry packets recieved in this session


flow1

public PacketSumBean flow1
The client->server summary flow


flow2

public PacketSumBean flow2
The server->client summary flow

Constructor Detail

SessionBean

public SessionBean(java.lang.StringBuffer Key)
Create an empty session bean with a given session key

Parameters:
Key - They session key

SessionBean

public SessionBean()
Create a new empty Session Bean