|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--magician.Node.KUSmartPacketV2 | +--atropos.lp.AvnmpBase | +--atropos.lp.AvnmpBW
This class implements methods for calculating bandwidth.
This research is funded by DARPA/ITO Contract Number: F30602-98-C-0230 supported by the Air Force Research Laboratory/IF.
Field Summary | |
protected snmp.agent.AppCommunicator |
context
Allow the packet to be SNMP managable. |
Fields inherited from class magician.Node.KUSmartPacketV2 |
CPU_Requirements, Destination_Address, halted, IO_BW_Requirements, Memory_Requirements, NextHop, PacketID, Source_Address, thisNode, TypeID |
Constructor Summary | |
AvnmpBW()
|
Method Summary | |
void |
exec()
This is the main processing for this active packet. |
protected long |
queueSize(int port)
Incoming Active Node Queue size. |
protected double |
recvRate()
This method returns the total number of bytes received by this node divided by the total amount of time this node has been running. |
protected double |
xmitRate()
This method returns the total number of bytes transmitted by this node divided by the total amount of time this node has been running. |
Methods inherited from class magician.Node.KUSmartPacketV2 |
AcquireSmallState, build, CreateSmallState, describeComponents, DestroySmallState, GetCanonicalAddress, getExecTime, GetLinkLayerAddress, GetNetName, GetNextHop, GetNodeName, GetNumberOfHops, GetService, GetSmallState, GetSmallState, getSourceAddress, getTypeId, halt, pathNotFound, run, SendForProcessing, SendSmartPacket, SendSmartPacket, SetSmallState, sleep, stop, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected transient snmp.agent.AppCommunicator context
Constructor Detail |
public AvnmpBW()
Method Detail |
protected long queueSize(int port)
port
- The receive port number.protected double xmitRate()
protected double recvRate()
public void exec()
exec
in class magician.Node.KUSmartPacketV2
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |