SSF.OS.NetFlow.Util
Class MapMonitor

java.lang.Object
  |
  +--SSF.OS.NetFlow.Util.MapMonitor
All Implemented Interfaces:
ProtocolMonitor

public class MapMonitor
extends java.lang.Object
implements ProtocolMonitor

map the networks after everything is inited.


Field Summary
static java.lang.String STREAM_TYPE
           
 
Constructor Summary
MapMonitor()
           
 
Method Summary
 void config(ProtocolSession ownerProtocol, com.renesys.raceway.DML.Configuration cfg)
          Configure the Monitor
protected  byte[] generateData(IP ipSession, int nicNum)
           
 void init()
          Any other initialization depending on other protocols should be done in the "init" phase.
 void receive(ProtocolMessage packet, ProtocolSession fromSession, ProtocolSession toSession)
          Peek at every protocol message push()ed into the monitored protocol session.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

STREAM_TYPE

public static java.lang.String STREAM_TYPE
Constructor Detail

MapMonitor

public MapMonitor()
Method Detail

receive

public void receive(ProtocolMessage packet,
                    ProtocolSession fromSession,
                    ProtocolSession toSession)
Description copied from interface: ProtocolMonitor
Peek at every protocol message push()ed into the monitored protocol session.

Specified by:
receive in interface ProtocolMonitor

config

public void config(ProtocolSession ownerProtocol,
                   com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
Description copied from interface: ProtocolMonitor
Configure the Monitor

Specified by:
config in interface ProtocolMonitor
com.renesys.raceway.DML.configException

init

public void init()
Description copied from interface: ProtocolMonitor
Any other initialization depending on other protocols should be done in the "init" phase.

Specified by:
init in interface ProtocolMonitor

generateData

protected byte[] generateData(IP ipSession,
                              int nicNum)