|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.mpls.mgmt.mpls_interface.MPLSSchedulingQueueEntry
LSP Queue with monitoring functions.
The MPLSSchedulingQueueEnrty is a LSP Queue module with several traffic
monitoring functions
MPLSInterfaceInfo can handle several Queue for servral LSPs..
+--------------------+
| MPLSInterfaceInfo | +-------------------------------+
| - QueueTable ---------------| MPLSSchedulingQueueEntry |+
packet | | enqueue | - MPLSQueue(Queue functions) ||+
-------------> push() ------------------>| - LSP Informations |||
| | dequeue | - Queue Informations |||
| Scheduler <---------------| - Queue Monitoring functions |||
| | | +-------------------------------+||
+----------|---------+ +-----------------------------+|
| +---------------------------+
| +----------+
+----------->| NIC/ONIC |-----------> to the next hop
packet +----------+
forwarding
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.
| Field Summary | |
double |
BlockBytes
Field BlockBytes - Block bytes count |
long |
BlockCounts
Field BlockCounts - Block count |
double |
CDR
Field CDR - Committed Data Rate |
int |
DiffServFlowID
Field DiffServFlowID - DiffServ Flow ID |
int |
ingressLSRID
Field ingressLSRID - Ingress LSR ID |
boolean |
isLog
Field isLog - Log flag |
int |
LabelValue
Field LabelValue - Label Value |
int |
localLSPID
Field localLSPID - Local LSP ID |
java.io.File |
LSPDir
Field LSPDir - LSP Directory |
java.io.FileWriter |
LSPMonitor
Field LSPMonitor - LSP monitor object |
java.lang.String |
LSPName
Field LSPName - LSP Name |
MPLSInterfaceInfo |
minfo
Field minfo - MPLS Interface Information object |
double |
PacketBytes
Field PacketBytes - Packet bytes |
int |
PacketCount
Field PacketCount - Packet count |
java.lang.String |
pathID
Field pathID - Path ID |
double |
PDR
Field PDR - Peak Data Rate |
long |
prevSN
Field prevSN - Previous Sequence Number |
double |
prevTime
Field prevTime - Previous Time stamp |
int |
Priority
Field Priority - Priority value |
MPLSQueue |
Queue
Field Queue - MPLS Queue Object |
java.io.FileWriter |
QueueMonitor
Field QueueMonitor - Queue monitor object |
java.lang.String |
SchedulingType
Field SchedulingType - Scheduling Type |
long |
SequenceNumber
Field SequenceNumber - Sequence Number |
MPLSTrafficPolicy |
trafficPolicy
Field trafficPolicy - Traffic Policy object |
double |
Weight
Field Weight - Weight Value |
| Constructor Summary | |
MPLSSchedulingQueueEntry()
Constructor MPLSSchedulingQueueEntry |
|
MPLSSchedulingQueueEntry(MPLSInterfaceInfo info)
Constructor MPLSSchedulingQueueEntry |
|
| Method Summary | |
boolean |
enqueue(ProtocolMessage message,
ProtocolSession fromSession)
Method enqueue |
void |
flushFile()
Method flushFile Flush log to file |
void |
Monitoring(double ctime)
Method Monitoring |
void |
recordTraffic(ProtocolMessage message)
Method recordTraffic Record packet count and bytes count |
void |
setupLogFile()
Method setupLogFile |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.lang.String pathID
public int ingressLSRID
public int localLSPID
public int LabelValue
public int Priority
public double Weight
public double PDR
public double CDR
public MPLSQueue Queue
public java.lang.String SchedulingType
public int DiffServFlowID
public MPLSInterfaceInfo minfo
public MPLSTrafficPolicy trafficPolicy
public java.lang.String LSPName
public java.io.File LSPDir
public int PacketCount
public double PacketBytes
public boolean isLog
public java.io.FileWriter LSPMonitor
public java.io.FileWriter QueueMonitor
public double prevTime
public long BlockCounts
public double BlockBytes
public long SequenceNumber
public long prevSN
| Constructor Detail |
public MPLSSchedulingQueueEntry()
public MPLSSchedulingQueueEntry(MPLSInterfaceInfo info)
info - - Interface Information| Method Detail |
public boolean enqueue(ProtocolMessage message,
ProtocolSession fromSession)
message - fromSession -
public void setupLogFile()
public void recordTraffic(ProtocolMessage message)
message - public void Monitoring(double ctime)
ctime - - current Timepublic void flushFile()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||