SSF.OS.NetFlow
Class IpFlowCollectorWD

java.lang.Object
  |
  +--SSF.OS.NetFlow.IpFlowCollector
        |
        +--SSF.OS.NetFlow.IpFlowCollectorWD
All Implemented Interfaces:
ProtocolMonitor

public class IpFlowCollectorWD
extends IpFlowCollector

IpFlowCollector With Domain-support


Field Summary
 int level
           
protected  java.util.Hashtable nicTable
          table to store NIC type information
protected  int nicTableSize
           
 
Fields inherited from class SSF.OS.NetFlow.IpFlowCollector
ALL_PROTOCOLS, checkTableTimer, conFinishList, conOpenTable, dataTypeCode, debug, dstMask, dumpTimer, hostCode, initCapacity, ipSess, LOCAL, nicClass, protocol_type, protocolMsgTypeClass, srcMask, STREAM_TYPE
 
Constructor Summary
IpFlowCollectorWD()
           
 
Method Summary
 void config(IP ipSession, com.renesys.raceway.DML.Configuration cfg)
          All options as in IpFlowCollector.
 void init()
          It assumes that the host doesn't have a large number of NIC attacked.
 void receive(ProtocolMessage packet, ProtocolSession fromSession, ProtocolSession toSession)
          Same as in IpFlowCollector except it uses IpNetFlowWD.
 
Methods inherited from class SSF.OS.NetFlow.IpFlowCollector
config, getSimTime, inGraph, isOldConnection
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

level

public int level

nicTable

protected java.util.Hashtable nicTable
table to store NIC type information


nicTableSize

protected int nicTableSize
Constructor Detail

IpFlowCollectorWD

public IpFlowCollectorWD()
Method Detail

config

public void config(IP ipSession,
                   com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
All options as in IpFlowCollector. Plus:

com.renesys.raceway.DML.configException

init

public void init()
It assumes that the host doesn't have a large number of NIC attacked. Otherwise, the performance will not be good because of the small size of the nicTable..

Specified by:
init in interface ProtocolMonitor
Overrides:
init in class IpFlowCollector

receive

public void receive(ProtocolMessage packet,
                    ProtocolSession fromSession,
                    ProtocolSession toSession)
Same as in IpFlowCollector except it uses IpNetFlowWD.

Specified by:
receive in interface ProtocolMonitor
Overrides:
receive in class IpFlowCollector
Parameters:
packet - received ipPacket
fromSession - the Protocol session from which this packet is received.
toSession - the Protocol session to which this packet will be pushed to.