gov.nist.antd.optical
Class BasicQueueMonitor.LambdaInfo

java.lang.Object
  |
  +--gov.nist.antd.optical.BasicQueueMonitor.LambdaInfo
Enclosing class:
BasicQueueMonitor

private class BasicQueueMonitor.LambdaInfo
extends java.lang.Object

This class contains the information related to a specific lambda


Field Summary
private  int drops
          The number of packets dropped in current interval
private  Lambda lambda
          The lambda that is monitored
private  long noBytes
          The number of bytes sent
private  int pkts
          The number of packets in current interval
 
Constructor Summary
BasicQueueMonitor.LambdaInfo(Lambda forLambda)
          Constructor
 
Method Summary
 void processPacket(OpticalFrameHeader packet)
          Updates the information
 void sendRecord()
          Send the information related to this lambda.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

lambda

private Lambda lambda
The lambda that is monitored


pkts

private int pkts
The number of packets in current interval


drops

private int drops
The number of packets dropped in current interval


noBytes

private long noBytes
The number of bytes sent

Constructor Detail

BasicQueueMonitor.LambdaInfo

public BasicQueueMonitor.LambdaInfo(Lambda forLambda)
Constructor

Parameters:
forLambda - The monitored lambda
Method Detail

processPacket

public void processPacket(OpticalFrameHeader packet)
Updates the information

Parameters:
packet - The message received

sendRecord

public void sendRecord()
Send the information related to this lambda.