SSF.OS.NetFlow
Class IpFlowTable

java.lang.Object
  |
  +--SSF.OS.NetFlow.ShrinkableHashMap
        |
        +--SSF.OS.NetFlow.IpFlowTable

public class IpFlowTable
extends ShrinkableHashMap

A shrinkable-hash table of IpNetFlows. When colisions happen, use link lists to extends the entries.


Field Summary
 byte protocol_type
          protocol interested in
 
Constructor Summary
IpFlowTable()
          default constructor
IpFlowTable(byte protocol, int initSize)
          constructor specify the protocol interested
IpFlowTable(java.lang.Object key, IpNetFlow flow)
          construct with a given flow
 
Method Summary
 void removeFlow(java.lang.Object key, IpNetFlow flow)
          remove the given netflow with given key from table
 
Methods inherited from class SSF.OS.NetFlow.ShrinkableHashMap
get, growRehash, put, remove, shrinkRehash, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

protocol_type

public byte protocol_type
protocol interested in

Constructor Detail

IpFlowTable

public IpFlowTable()
default constructor


IpFlowTable

public IpFlowTable(byte protocol,
                   int initSize)
constructor specify the protocol interested


IpFlowTable

public IpFlowTable(java.lang.Object key,
                   IpNetFlow flow)
construct with a given flow

Method Detail

removeFlow

public void removeFlow(java.lang.Object key,
                       IpNetFlow flow)
remove the given netflow with given key from table

Parameters:
key - the key of this flow
flow - the flow to be removed