Show
Ignore:
Timestamp:
04/02/08 10:58:55 (9 months ago)
Author:
relet.net
Message:

remove obsolete class ColorScheme?. partially moved color scheme support to config file (tbc).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/net/relet/freimap/FlowData.java

    r1 r22  
    2323package net.relet.freimap; 
    2424 
     25/** FlowData contains the information associated with a single traffic flow. 
     26 */ 
    2527public class FlowData { 
    26   long begin, end, packets, bytes; 
    27   int protocol; 
     28  public long begin, end, packets, bytes; 
     29  public int protocol; 
    2830 
    29   public FlowData (long b, long e, long c, long o, int p) { 
    30     begin    = b; 
    31     end      = e; 
    32     packets  = c; 
    33     bytes    = o; 
    34     protocol = p; 
     31  /** Create one flow information object  
     32      @param  begin     timestamp of the first packet in this flow 
     33      @param  end       timestamp of the last packet associated with this flow 
     34      @param  packets   number of packets in this flow 
     35      @param  bytes     number of bytes in this flow 
     36      @param  protocol  traffic protocol used in this flow. Values conform to netflow specification.  
     37  */ 
     38  public FlowData (long begin, long end, long packets, long bytes, int protocol) { 
     39    this.begin    = begin; 
     40    this.end      = end; 
     41    this.packets  = packets; 
     42    this.bytes    = bytes; 
     43    this.protocol = protocol; 
    3544  } 
    3645}