isc.sensor
Class PacketBean

java.lang.Object
  extended by isc.sensor.PacketBean
Direct Known Subclasses:
TCPBean, UDPBean

public class PacketBean
extends java.lang.Object

PacketBean provides base functions for internal packet beans.

Author:
John Casey
Project: DNA_sensor - Aug 12, 2005

Field Summary
 IPBean ipbean
          The processed IPHeader
 java.lang.StringBuffer skey
          The flow/session key for this packet
 
Constructor Summary
PacketBean()
           
 
Method Summary
 void setKey()
          Compute the key for this flow/session
 void setKey(java.lang.String key)
          Set the key for this flow/session
 
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 flow/session key for this packet


ipbean

public IPBean ipbean
The processed IPHeader

Constructor Detail

PacketBean

public PacketBean()
Method Detail

setKey

public void setKey(java.lang.String key)
Set the key for this flow/session

Parameters:
key -

setKey

public void setKey()
Compute the key for this flow/session