org.cougaar.core.qos.profile
Class LocalTraffic

java.lang.Object
  extended by org.cougaar.util.GenericStateModelAdapter
      extended by org.cougaar.core.qos.profile.ProfilerBase
          extended by org.cougaar.core.qos.profile.LocalTraffic
All Implemented Interfaces:
org.cougaar.core.component.Component, ProfilerService.Client, org.cougaar.util.GenericStateModel

public class LocalTraffic
extends ProfilerBase

This component profiles the message traffic (message count and byte count) of each local agents to any target.

I.e. FROM (a specific local agent) TO (any remote target)

For example, the messaging for AgentA would look like:

   tl_AgentA - #count, bytes
   tl_AgentA - 15802, 20273716
 

See Also:
required coordinator component

Field Summary
 org.cougaar.core.mts.AgentStatusService as
           
 java.lang.Object mtrs
           
 
Fields inherited from class org.cougaar.core.qos.profile.ProfilerBase
align, header, sb
 
Fields inherited from interface org.cougaar.util.GenericStateModel
ACTIVE, IDLE, LOADED, UNINITIALIZED, UNLOADED
 
Constructor Summary
LocalTraffic()
           
 
Method Summary
 void load()
           
 void run()
           
 
Methods inherited from class org.cougaar.core.qos.profile.ProfilerBase
findServiceLater, getRunCount, log, setServiceBroker, toHeader
 
Methods inherited from class org.cougaar.util.GenericStateModelAdapter
getModelState, halt, initialize, resume, start, stop, suspend, transitState, unload
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.cougaar.util.GenericStateModel
getModelState, halt, initialize, resume, start, stop, suspend, unload
 

Field Detail

as

public org.cougaar.core.mts.AgentStatusService as

mtrs

public java.lang.Object mtrs
Constructor Detail

LocalTraffic

public LocalTraffic()
Method Detail

load

public void load()
Specified by:
load in interface org.cougaar.util.GenericStateModel
Overrides:
load in class ProfilerBase

run

public void run()
Specified by:
run in interface ProfilerService.Client
Specified by:
run in class ProfilerBase