bcds.phison.sim
Class PmTraceConnGbl<V,E>

java.lang.Object
  extended by bcds.phison.sim.PmBase<V,E>
      extended by bcds.phison.sim.PmTraceConnGbl<V,E>
All Implemented Interfaces:
ProcessingModule<V,E>, WithEnvParams

public class PmTraceConnGbl<V,E>
extends PmBase<V,E>

Prints global information about connections (# of connections received, # of connections blocked, blocking ratio and connection holding time). The same information is "collected" as a global statistics under the group "Basic connection statistics".

This is designed to be a "standard" (automatically loaded) module.

Author:
Juan Segovia S.

Constructor Summary
PmTraceConnGbl()
           
 
Method Summary
 void run(SimEvents evtype, ConnectionInfo<V,E> rq)
          Empty implementation.
 void shutdown()
          Empty implementation.
 
Methods inherited from class bcds.phison.sim.PmBase
ctx, env, getEnviron, getEnvParams, getId, getName, opt, setup, sim, stats
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PmTraceConnGbl

public PmTraceConnGbl()
Method Detail

run

public void run(SimEvents evtype,
                ConnectionInfo<V,E> rq)
Description copied from class: PmBase
Empty implementation.

Specified by:
run in interface ProcessingModule<V,E>
Overrides:
run in class PmBase<V,E>

shutdown

public void shutdown()
Description copied from class: PmBase
Empty implementation.

Specified by:
shutdown in interface ProcessingModule<V,E>
Overrides:
shutdown in class PmBase<V,E>