gov.nist.antd.mpls.mgmt.mpls_interface
Class LambdaEntry

java.lang.Object
  |
  +--gov.nist.antd.mpls.mgmt.mpls_interface.LambdaEntry

public class LambdaEntry
extends java.lang.Object

Represents the Lambda in MPLSOnicInterface module
FiberEntry

   +--------------+----------+                  
   | MPLSOnicInterface       |        +-------------------------+          
   |  - inFiberTable  <------+--------| FiberEntry       class  |+
   |  - outFiberTable <------+--------| - fiberID               ||+
   |  - ControlChannelTable  |        | - Resource Informaton   |||
   |  - Resource Information |        | - lambdaTable  <--------------+
   +-------------------------+        | - Lambda Monitoring func|||   |
                                      +-------------------------+||   |
                                        +------------------------+|   |
                                           +----------------------+   |
                                                                      |
                                                    +-----------------+
                                                    |                  
                                                    |                  
                                        +-------------------------+    
                                        | LambdaEntry class       |+
                                        | - fiberID               ||+
                                        | - Resource Informaton   |||
                                        +-------------------------+||
                                          +------------------------+|
                                             +----------------------+

 

 This class was developed at the National Institute of Standards and
 Technology by employees of the Federal Government in the course of
 their official duties. Pursuant to title 17 Section 105 of the United
 States Code this software is not subject to copyright protection and
 is in the public domain.
 NIST assumes no responsibility whatsoever for its use by other parties,
 and makes no guarantees, expressed or implied, about its quality,
 reliability, or any other characteristic.
 
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.

Version:
1.0

Author:
Chul Kim VERSION CONTROL
-------------------------------------------------------------------------
Name - YYYY/MM/DD - VERSION - ACTION
chul - 2003/01/06 - 1.0 - Extract from MPLSOnicInterface for supporting monitoring function to NICMonitor

Field Summary
 int addLambdaID
           
 boolean availFlag
          Available Flag
 double bandwidth
          Bandwidth of Lambda
 double BlockBytes
          BlockBytes
 long BlockCounts
          BlockCounts
 boolean ctrlFlag
          Control Lambda Flag
 int dropLambdaID
          Field AddDropLambdaID - Add/Drop Lambda ID
 int fiberID
          Fiber ID that this lambda belong to
 boolean isUpdated
           
 Lambda lambda
          Field lambda - Lambda object
 int lambdaID
          Lambda ID
 double OpticalFrameBytes
          Field OpticalFrameBytes
 int OpticalFrameCount
          Variable for Optical Frame statistic OpticalFrameCount
 boolean outFlag
          Outgoing Flag - if true
 boolean usedFlag
          Used Flag
 
Constructor Summary
LambdaEntry(Lambda l, int fiberID, boolean outFlag)
          Constructor LambdaEntry
 
Method Summary
 void resetTrafficInfo()
          Reset the traffic information
 void updateTrafficInfo(double bytes)
          Update the Traffic Information
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fiberID

public int fiberID
Fiber ID that this lambda belong to


lambdaID

public int lambdaID
Lambda ID


bandwidth

public double bandwidth
Bandwidth of Lambda


availFlag

public boolean availFlag
Available Flag


usedFlag

public boolean usedFlag
Used Flag


ctrlFlag

public boolean ctrlFlag
Control Lambda Flag


outFlag

public boolean outFlag
Outgoing Flag - if true


BlockBytes

public double BlockBytes
BlockBytes


BlockCounts

public long BlockCounts
BlockCounts


OpticalFrameCount

public int OpticalFrameCount
Variable for Optical Frame statistic OpticalFrameCount


OpticalFrameBytes

public double OpticalFrameBytes
Field OpticalFrameBytes


dropLambdaID

public int dropLambdaID
Field AddDropLambdaID - Add/Drop Lambda ID


addLambdaID

public int addLambdaID

lambda

public Lambda lambda
Field lambda - Lambda object


isUpdated

public boolean isUpdated
Constructor Detail

LambdaEntry

public LambdaEntry(Lambda l,
                   int fiberID,
                   boolean outFlag)
Constructor LambdaEntry

Parameters:
l - - Lambda Object
fiberID - - Fiber ID
outFlag - - Outgoing Flag
Method Detail

updateTrafficInfo

public void updateTrafficInfo(double bytes)
Update the Traffic Information

Parameters:
bytes -

resetTrafficInfo

public void resetTrafficInfo()
Reset the traffic information