SSF.Net
Interface PacketQueueMonitor

All Known Implementing Classes:
droptailQueueMonitor_1, droptailQueueMonitor_2

public interface PacketQueueMonitor

Generic interface for all classes implementing DML-configurable IP packet queue Monitors.


Method Summary
 void config(NIC ownerNIC, com.renesys.raceway.DML.Configuration cfg)
          Method called by SSF.Net.NIC during model configuration phase if the attribute interface.monitor is present.
 void init()
          Method called by SSF.Net.NIC during model initialization phase Any configuration actions depending on other protocols should be done in the "init" phase.
 void receive(ProtocolMessage packet)
          Method called by class implementing SSF.Net.packetQueue when a packet is enqueued.
 

Method Detail

config

public void config(NIC ownerNIC,
                   com.renesys.raceway.DML.Configuration cfg)
            throws com.renesys.raceway.DML.configException
Method called by SSF.Net.NIC during model configuration phase if the attribute interface.monitor is present. Required attributes:
interface [
    ...
     monitor [
       use "classname"

       ... any user-defined monitor attributes here
     ]
   ]

com.renesys.raceway.DML.configException

init

public void init()
Method called by SSF.Net.NIC during model initialization phase Any configuration actions depending on other protocols should be done in the "init" phase.


receive

public void receive(ProtocolMessage packet)
Method called by class implementing SSF.Net.packetQueue when a packet is enqueued.