SSF.OS
Interface ProtocolMonitor

All Known Implementing Classes:
DDoSMonitor, IpFlowCollector, MapMonitor, RequestsMonitor, SYNMonitor

public interface ProtocolMonitor

Minimalistic interface for protocol session monitors. Will be obsoleted, try not to use.


Method Summary
 void config(ProtocolSession ownerProtocol, com.renesys.raceway.DML.Configuration cfg)
          Configure the Monitor
 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.
 

Method Detail

receive

public void receive(ProtocolMessage packet,
                    ProtocolSession fromSession,
                    ProtocolSession toSession)
Peek at every protocol message push()ed into the monitored protocol session.


config

public void config(ProtocolSession ownerProtocol,
                   com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
Configure the Monitor

com.renesys.raceway.DML.configException

init

public void init()
Any other initialization depending on other protocols should be done in the "init" phase.